This series extends commit 363887a2cdfe ("ipv4: Support multipath hashing on inner IP pkts for GRE tunnel") to include support when the outer L3 is IPv6 and to consider the case where the inner L3 is different version from the outer L3, such as IPv6 over GRE over IPv4 or vice versa. It also includes kselftest scripts to test the use cases.
Stephen Suryaputra (3): ipv4: Multipath hashing on inner L3 needs to consider inner IPv6 pkts ipv6: Support multipath hashing on inner IP pkts selftests: forwarding: Test multipath hashing on inner IP pkts for GRE tunnel Documentation/networking/ip-sysctl.txt | 1 + net/ipv4/route.c | 21 +- net/ipv6/route.c | 36 +++ .../net/forwarding/gre_inner_v4_multipath.sh | 305 +++++++++++++++++ .../net/forwarding/gre_inner_v6_multipath.sh | 306 ++++++++++++++++++ .../forwarding/ip6gre_inner_v4_multipath.sh | 304 +++++++++++++++++ .../forwarding/ip6gre_inner_v6_multipath.sh | 305 +++++++++++++++++ 7 files changed, 1274 insertions(+), 4 deletions(-) create mode 100755 tools/testing/selftests/net/forwarding/gre_inner_v4_multipath.sh create mode 100755 tools/testing/selftests/net/forwarding/gre_inner_v6_multipath.sh create mode 100755 tools/testing/selftests/net/forwarding/ip6gre_inner_v4_multipath.sh create mode 100755 tools/testing/selftests/net/forwarding/ip6gre_inner_v6_multipath.sh -- 2.17.1