]> 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)
commit1e6a769763a99009e101091f710a34c2b330aed8
tree7af01e46bfcbc2bf49208acf13b1f15f66691736
parent7d19257a2d29818bf88a3affd4eeb9c30f62d518
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]