selftests: forwarding: Test multipath tunneling
authorPetr Machata <petrm@mellanox.com>
Tue, 26 Jun 2018 00:08:05 +0000 (02:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:42:13 +0000 (10:42 +0900)
commit54818c4c4b9379f942db7d19e5ff23fb08f6bc79
tree7af01e46bfcbc2bf49208acf13b1f15f66691736
parent3368b22379d67a92b0da8f2a76a6f0764177601d
selftests: forwarding: Test multipath tunneling

Add a GRE-tunneling test such that there are two tunnels involved, with
a multipath route listing both as next hops. Similarly to
router_multipath.sh, test that the distribution of traffic to the
tunnels honors the configured weights.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/gre_multipath.sh [new file with mode: 0755]