]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd454ff9a3e844d4ae4fdae595ff5dd5a72dacd58
tree7af01e46bfcbc2bf49208acf13b1f15f66691736
parent27f9bd63b7c447f9f8287828282cbd9b71e9b0c3
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]