diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-01-09 16:40:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 15:14:44 -0500 |
commit | 398958ae48f44bb036d0fa9829cd489270bf1fc2 (patch) | |
tree | 1af7f7291b37d5e8c3106540e06a041d9f563d83 /lib | |
parent | 3d709f69a3e749f4d1c195dab499df8ab66e25a8 (diff) | |
download | linux-398958ae48f44bb036d0fa9829cd489270bf1fc2.tar.bz2 |
ipv6: Add support for non-equal-cost multipath
The use of hash-threshold instead of modulo-N makes it trivial to add
support for non-equal-cost multipath.
Instead of dividing the multipath hash function's output space equally
between the nexthops, each nexthop is assigned a region size which is
proportional to its weight.
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 'lib')
0 files changed, 0 insertions, 0 deletions