diff options
author | 2024-06-07 17:13:55 +0200 | |
---|---|---|
committer | 2024-06-12 16:42:11 -0700 | |
commit | 60bcfede3f9f54d4f1614906dd73e6acc23e9518 (patch) | |
tree | 0d4fb927fc79d804aa0262f3dddfb092eabb0455 /drivers/net/dsa | |
parent | net: ipv4: Add a sysctl to set multipath hash seed (diff) | |
download | wireguard-linux-60bcfede3f9f54d4f1614906dd73e6acc23e9518.tar.xz wireguard-linux-60bcfede3f9f54d4f1614906dd73e6acc23e9518.zip |
mlxsw: spectrum_router: Apply user-defined multipath hash seed
When Spectrum machines compute hash for the purposes of ECMP routing, they
use a seed specified through RECR_v2 (Router ECMP Configuration Register).
Up until now mlxsw computed the seed by hashing the machine's base MAC.
Now that we can optionally have a user-provided seed, use that if possible.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240607151357.421181-4-petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions