aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-06-07 17:13:55 +0200
committerJakub Kicinski <kuba@kernel.org>2024-06-12 16:42:11 -0700
commit60bcfede3f9f54d4f1614906dd73e6acc23e9518 (patch)
tree0d4fb927fc79d804aa0262f3dddfb092eabb0455 /drivers/net/dsa
parentnet: ipv4: Add a sysctl to set multipath hash seed (diff)
downloadwireguard-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