diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-01-09 16:40:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 15:14:44 -0500 |
commit | 3d709f69a3e749f4d1c195dab499df8ab66e25a8 (patch) | |
tree | fe11da750ce221ccc7d2e01eec2afc1badb7c415 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7696c06a189c0f1f4d0a7e49e28d10e1050ec529 (diff) |
ipv6: Use hash-threshold instead of modulo-N
Now that each nexthop stores its region boundary in the multipath hash
function's output space, we can use hash-threshold instead of modulo-N
in multipath selection.
This reduces the number of checks we need to perform during lookup, as
dead and linkdown nexthops are assigned a negative region boundary. In
addition, in contrast to modulo-N, only flows near region boundaries are
affected when a nexthop is added or removed.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions