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)
commit5f1572e6178e47c3ace55ced187d93240952c9cd
tree929da6fda0078dab81a4d7b0e640aeb5db360144
parent36d45fb9d2fdf348d778bfe73f0427db1c6f9bc7
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: bdfc028de1b3 ("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