diff options
author | Gal Pressman <galp@mellanox.com> | 2017-01-11 12:32:26 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-14 23:25:38 (GMT) |
commit | e68f0dbb6bb0f0487a8ae2a117ae1950b6656f1a (patch) | |
tree | 76d38474f28a748d9f4aa20e1a907216a8149cb7 /drivers/hwmon/ultra45_env.c | |
parent | 1a1981ef15a5bb52c46ab109a63cf1d4ddaee992 (diff) | |
download | linux-e68f0dbb6bb0f0487a8ae2a117ae1950b6656f1a.tar.xz |
net/mlx5e: Modify TIRs hash only when it's needed
commit 1d3398facd08a7fd4202f269317a95668eb880b9 upstream.
We don't need to modify our TIRs unless the user requested a change in
the hash function/key, for example when changing indirection only.
Tested:
# Modify TIRs hash is needed
ethtool -X ethX hkey <new key>
ethtool -X ethX hfunc <new func>
# Modify TIRs hash is not needed
ethtool -X ethX equal <new indirection table>
All cases are verified with TCP Multi-Stream traffic over IPv4 & IPv6.
Fixes: bdfc028de1b3 ("net/mlx5e: Fix ethtool RX hash func configuration change")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/ultra45_env.c')
0 files changed, 0 insertions, 0 deletions