OSDN Git Service

Merge branch 'ipv6-Add-support-for-non-equal-cost-multipath'
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:14:45 +0000 (15:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:14:45 +0000 (15:14 -0500)
Ido Schimmel says:

====================
ipv6: Add support for non-equal-cost multipath

This set aims to add support for IPv6 non-equal-cost multipath routes.
The first three patches convert multipath selection to use the
hash-threshold method (RFC 2992) instead of modulo-N. The same method is
employed by the IPv4 routing code since commit 0e884c78ee19 ("ipv4: L3
hash-based multipath").

Unlike modulo-N, with hash-threshold only the flows near the region
boundaries are affected when a nexthop is added or removed. In addition,
it allows us to easily add support for non-equal-cost multipath in the
last patch by sizing the different regions according to the provided
weights.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge