]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Split en_fs ndo's and move to en_main
authorLama Kayal <lkayal@nvidia.com>
Sun, 23 Jan 2022 15:44:12 +0000 (17:44 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 28 Jul 2022 20:55:29 +0000 (13:55 -0700)
commit9bfbc8ca670de09fe13f5f0ddfb0da48c13092fc
tree8d422e11e4471044e86b752850d24738d156828b
parentda8f36cd732df9d32da47e2234b2525eedf5089f
net/mlx5e: Split en_fs ndo's and move to en_main

Add inner callee for ndo mlx5e_vlan_rx_add_vid and
mlx5e_vlan_rx_kill_vid, to separate the priv usage from other
flow steering flows.

Move wrapper ndo's into en_main, and split the rest of the functionality
into a separate part inside en_fs.

Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c