]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Add support for path selection using hash of 5-tuple
authorDavid Ahern <dsahern@gmail.com>
Fri, 2 Mar 2018 16:32:18 +0000 (08:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 18:04:23 +0000 (13:04 -0500)
commit7de5e212f2a6921e06790a24f3935b6e7a27bfab
tree875d572b15ee7f2ea7a06dcf5be4faa6c0865967
parent722c38fc9137478491da80c6cda6564e9eb5a8b7
net/ipv6: Add support for path selection using hash of 5-tuple

Some operators prefer IPv6 path selection to use a standard 5-tuple
hash rather than just an L3 hash with the flow the label. To that end
add support to IPv6 for multipath hash policy similar to 71219452e6f19
("net: ipv4: add support for ECMP hash policy choice"). The default
is still L3 which covers source and destination addresses along with
flow label and IPv6 protocol.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/net/ip6_route.h
include/net/netevent.h
include/net/netns/ipv6.h
net/ipv6/icmp.c
net/ipv6/route.c
net/ipv6/sysctl_net_ipv6.c