summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-01-09 15:40:25 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-10 21:14:44 +0100
commitd7dedee184e775f77d321cfa1c660a7680cf6588 (patch)
tree7d59d50b661562ccf2cfad936be59b37f7f69b99 /arch/sparc
parentvhost_net: batch used ring update in rx (diff)
downloadlinux-d7dedee184e775f77d321cfa1c660a7680cf6588.tar.xz
linux-d7dedee184e775f77d321cfa1c660a7680cf6588.zip
ipv6: Calculate hash thresholds for IPv6 nexthops
Before we convert IPv6 to use hash-threshold instead of modulo-N, we first need each nexthop to store its region boundary in the hash function's output space. The boundary is calculated by dividing the output space equally between the different active nexthops. That is, nexthops that are not dead or linkdown. The boundaries are rebalanced whenever a nexthop is added or removed to a multipath route and whenever a nexthop becomes active or inactive. 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 'arch/sparc')
0 files changed, 0 insertions, 0 deletions