net/mlx5e: Move mlx5e_build_rss_params() call to init_rx
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Tue, 6 Apr 2021 07:47:45 +0000 (10:47 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 26 Jul 2021 16:50:38 +0000 (09:50 -0700)
commit4ad31849771ad2aff90ef5911d19fd2b0099e2a0
tree70828cc95b7ca30094d5d26ffa7dd4d370ede73d
parent06e9f13ac5ccc15521a2ee15ad8b22e07b1e516e
net/mlx5e: Move mlx5e_build_rss_params() call to init_rx

RSS params belong to the RX side initialization. Move them from
profile->init to profile->init_rx stage to allow the next commit to move
rss_params out of priv to a dynamically-allocated struct.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c