net/mlx5e: Allocate VLAN and TC for featured profiles only
Introduce allocation and de-allocation functions for both flow steering VLAN and TC as part of fs API. Add allocations of VLAN and TC as nic profile feature, such that fs_init() will allocate both VLAN and TC only if they're featured in the profile. VLAN and TC are relevant for nic_profile only. Signed-off-by:Lama Kayal <lkayal@nvidia.com> Reviewed-by:
Tariq Toukan <tariqt@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en.h 2 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en.h
- drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 41 additions, 11 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_fs.c
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 3 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en_main.c
Loading
Please register or sign in to comment