]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix ethtool hfunc configuration change
authorAya Levin <ayal@mellanox.com>
Sun, 17 May 2020 09:45:52 +0000 (12:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Jun 2020 22:37:57 +0000 (15:37 -0700)
commitebb3037fd87ebd8ad9d2f613730c9ca11498a581
tree929da6fda0078dab81a4d7b0e640aeb5db360144
parent2cfed47169dc3b29d68b2f3daaddd44b68938beb
net/mlx5e: Fix ethtool hfunc configuration change

Changing RX hash function requires rearranging of RQT internal indexes,
the user isn't exposed to such changes and these changes do not affect
the user configured indirection table. Rebuild RQ table on hfunc change.

Fixes: 140aea0a5310 ("net/mlx5e: Fix ethtool RX hash func configuration change")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c