]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5e: RSS, Block changing channels number when RXFH is configured
authorCarolina Jubran <cjubran@nvidia.com>
Tue, 9 Apr 2024 19:08:14 +0000 (22:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:23:33 +0000 (11:23 +0200)
commitb5fe208278bbadc10d0a4408b1865984532d8462
tree9905c221c8544bca6b638707f31f4db869b67d4d
parentaed5666b128bcfc8c8fe991a83d7a8306689d090
net/mlx5e: RSS, Block changing channels number when RXFH is configured

[ Upstream commit ee3572409f74a838154af74ce1e56e62c17786a8 ]

Changing the channels number after configuring the receive flow hash
indirection table may affect the RSS table size. The previous
configuration may no longer be compatible with the new receive flow
hash indirection table.

Block changing the channels number when RXFH is configured and changing
the channels number requires resizing the RSS table size.

Fixes: 74a8dadac17e ("net/mlx5e: Preparations for supporting larger number of channels")
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240409190820.227554-7-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c