]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Convert ethtool_steering member of flow_steering struct to pointer
authorLama Kayal <lkayal@nvidia.com>
Mon, 7 Feb 2022 14:04:48 +0000 (16:04 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 23 Aug 2022 05:44:22 +0000 (22:44 -0700)
commit8c2600bce6cec355358fd3ff52b4614d7eaa561b
tree50308c368a2806fc6729df6f8b2548a1e1ae667f
parent50c59cfcea3c287fe7c1706a896f815676f59b4c
net/mlx5e: Convert ethtool_steering member of flow_steering struct to pointer

Convert mlx5e_ethtool_steering member of mlx5e_flow_steering to a
pointer, and allocate dynamically for each profile at flow_steering
init.

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.c