summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorLama Kayal <lkayal@nvidia.com>2022-01-23 13:13:18 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-07-28 13:55:29 -0700
commit5b031add2f94b3c34b0ab2057cdc061132bd3eb9 (patch)
treec8455a2f468d75367a9c23538a792e38904e44b9 /samples
parent7bb7071568e3faec8f5a59c52c15ff9ec879ddb7 (diff)
net/mlx5e: Separate mlx5e_set_rx_mode_work and move caller to en_main
Separate mlx5e_set_rx_mode into two, and move caller to en_main while keeping implementation in en_fs in the newly declared function mlx5e_fs_set_rx_mode. This; to minimize the coupling of flow_steering to priv. Add a parallel boolean member vlan_strip_disable to mlx5e_flow_steering that's updated similarly as its identical in priv, thus making it possible to adjust the rx_mode work handler to current changes. Also, add state_destroy boolean to mlx5e_flow_steering struct which replaces the old check : !test_bit(MLX5E_STATE_DESTROYING, &priv->state). This state member is updated accordingly prior to INIT_WORK(mlx5e_set_rx_mode_work), This is done for similar purposes as mentioned earlier and to minimize argument passings. Signed-off-by: Lama Kayal <lkayal@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions