diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-06-11 10:19:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-12 21:08:14 +0300 |
commit | ee02c26993262c96cc39d0f831f7589b10a44fd7 (patch) | |
tree | 9b44fd720cc7784141fbcd5564c52008e45f429e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 648ee6cea7dde4a5cdf817e5d964fd60b22006a4 (diff) | |
download | linux-ee02c26993262c96cc39d0f831f7589b10a44fd7.tar.xz |
mlxsw: spectrum: Use different seeds for ECMP and LAG hash
The same hash function and seed are used for both ECMP and LAG hash.
Therefore, when a LAG device is used as a nexthop device as part of an
ECMP group, hash polarization can occur and all the traffic will be
hashed to a single LAG slave.
Fix this by using a different seed for the LAG hash.
Fixes: fa73989f2697 ("mlxsw: spectrum: Use a stable ECMP/LAG seed")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Alex Veber <alexve@mellanox.com>
Tested-by: Alex Veber <alexve@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions