diff options
author | Petr Machata <petrm@nvidia.com> | 2024-06-07 17:13:55 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-12 16:42:11 -0700 |
commit | 60bcfede3f9f54d4f1614906dd73e6acc23e9518 (patch) | |
tree | 0d4fb927fc79d804aa0262f3dddfb092eabb0455 /net/unix/af_unix.c | |
parent | 4ee2a8cace3fb9a34aea6a56426f89d26dd514f3 (diff) |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions