]> 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)
commitdfd4c08f01ba6e4f673f9657fb72af8a7cf7bcbf
tree929da6fda0078dab81a4d7b0e640aeb5db360144
parent99d8d0698921086130286d307b6fb9d8ba04c9d3
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: 17a0a87f2209 ("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