Searched hist:"7696 c06a189c0f1f4d0a7e49e28d10e1050ec529" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | route.c | diff 7696c06a189c0f1f4d0a7e49e28d10e1050ec529 Tue Jan 09 08:40:26 CST 2018 Ido Schimmel <idosch@mellanox.com> ipv6: Use a 31-bit multipath hash
The hash thresholds assigned to IPv6 nexthops are in the range of [-1, 2^31 - 1], where a negative value is assigned to nexthops that should not be considered during multipath selection.
Therefore, in a similar fashion to IPv4, we need to use the upper 31-bits of the multipath hash for multipath selection.
Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|