diff options
author | Gal Pressman | 2017-01-11 13:32:26 +0100 |
---|---|---|
committer | Saeed Mahameed | 2017-01-29 22:29:32 +0100 |
commit | 1d3398facd08a7fd4202f269317a95668eb880b9 (patch) | |
tree | a19e3d7f906e024711ccf35004f702d1cc460d4a /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5e: Support TC encapsulation offloads with upper devices (diff) | |
download | kernel-qcow2-linux-1d3398facd08a7fd4202f269317a95668eb880b9.tar.gz kernel-qcow2-linux-1d3398facd08a7fd4202f269317a95668eb880b9.tar.xz kernel-qcow2-linux-1d3398facd08a7fd4202f269317a95668eb880b9.zip |
net/mlx5e: Modify TIRs hash only when it's needed
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions