summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2021-04-12 19:10:17 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-08-02 19:26:25 -0700
commit3ac90dec3a01226ce7f546a511b7fb56464e0686 (patch)
treef9a753b56a3734fa0e963b1635a9076412cf89c2 /drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c
parent43ec0f41fa73cc4d4f8a67e56fb398eff6881841 (diff)
downloadlinux-3ac90dec3a01226ce7f546a511b7fb56464e0686.tar.bz2
net/mlx5e: Allocate the array of channels according to the real max_nch
The channels array in struct mlx5e_rx_res is converted to a dynamic one, which will use the dynamic value of max_nch instead of implementation-defined maximum of MLX5E_MAX_NUM_CHANNELS. Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c')
0 files changed, 0 insertions, 0 deletions