net/mlx5e: Directly get flow_steering struct as input when init/cleanup ethtool steering
authorLama Kayal <lkayal@nvidia.com>
Sun, 13 Feb 2022 11:50:35 +0000 (13:50 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 23 Aug 2022 05:44:22 +0000 (22:44 -0700)
commite8b5c4bcb5541d452323171c0941ee3d8cefa693
tree3f270e5271f8ac4421aaa705ddf46b50ce67ef55
parentc7eafc5ed0688812f7b59094107d664893911c0f
net/mlx5e: Directly get flow_steering struct as input when init/cleanup ethtool steering

Let both mlx5e_ethtool_init_steering and mlx5e_ethtool_cleanup_steering
get ethtool steering struct as input instead of priv, as passing priv is
obsolete.
Also modify other function through the flow similarly.

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_fs_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c