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)
commit8448f91fcdf8d028e40ec526b39ded01e4dafc11
tree1af7f7291b37d5e8c3106540e06a041d9f563d83
parente2b3b35eb9896f26c98b9a2c047d9111638059a2
parent398958ae48f44bb036d0fa9829cd489270bf1fc2
Merge branch 'ipv6-Add-support-for-non-equal-cost-multipath'

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>