]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Do not try enable RSS when resetting indir table
authorTariq Toukan <tariqt@nvidia.com>
Thu, 12 Aug 2021 12:19:00 +0000 (15:19 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 16 Aug 2021 23:17:26 +0000 (16:17 -0700)
commita5c96833f834221656077a6d2bfdba9def4a56a2
treebbd2bf58c2a6d830ad8c2be9d4be2bcd8de5195c
parent2e3f9219fe5b629704acf912b20b52e7ed0eb456
net/mlx5e: Do not try enable RSS when resetting indir table

All calls to mlx5e_rx_res_rss_set_indir_uniform() occur while the RSS
state is inactive, i.e. the RQT is pointing to the drop RQ, not to the
channels' RQs.
It means that the "apply" part of the function is not called.
Remove this part from the function, and document the change. It will be
useful for next patches in the series, allows code simplifications when
multiple RSS contexts are introduced.

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