]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81a4007bd7c6020d4ba3dbad3f3344048c34217f
tree70828cc95b7ca30094d5d26ffa7dd4d370ede73d
parent7b67d24719832a04972b147a41f3c2d1cb2d8a23
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