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)
commita02c07ea5d0b38815282a787a9621007f86965d1
tree8d422e11e4471044e86b752850d24738d156828b
parent5b031add2f94b3c34b0ab2057cdc061132bd3eb9
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