]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: forwarding: Test multipath hashing on inner IP pkts for GRE tunnel
authorStephen Suryaputra <ssuryaextr@gmail.com>
Sat, 6 Jul 2019 14:55:19 +0000 (10:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 23:37:29 +0000 (16:37 -0700)
commit2800f2485417a80633285503c782dd9416df85e4
treee4855fde730209c03d673d7fcff3ea4353bdccdf
parentd8f74f0975d8360ab15312697585837c989c406b
selftests: forwarding: Test multipath hashing on inner IP pkts for GRE tunnel

Add selftest scripts for multipath hashing on inner IP pkts when there
is a single GRE tunnel but there are multiple underlay routes to reach
the other end of the tunnel.

Four cases are covered in these scripts:
    - IPv4 inner, IPv4 outer
    - IPv6 inner, IPv4 outer
    - IPv4 inner, IPv6 outer
    - IPv6 inner, IPv6 outer

Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/gre_inner_v4_multipath.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/gre_inner_v6_multipath.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/ip6gre_inner_v4_multipath.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/ip6gre_inner_v6_multipath.sh [new file with mode: 0755]