selftests: forwarding: Test mirror-to-gretap w/ UL team LACP
authorPetr Machata <petrm@mellanox.com>
Mon, 30 Jul 2018 14:40:07 +0000 (16:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2018 16:47:21 +0000 (09:47 -0700)
commit541c6ce30f6738a05a869606f50c14dea89d12e2
treedc9174d61c6f23f6421ae3ad1f37c50bdef8e59a
parenta9b33b2001b6e2b2a0df266977472db497a5d1ca
selftests: forwarding: Test mirror-to-gretap w/ UL team LACP

This tests mirror-to-gretap when an underlay packet path includes a team
device which is not in loadbalance mode, but in LACP mode. The test
manipulates LAG membership to achieve changes in txability, thus making
sure that a driver that offloads mirror-to-gretap doesn't just consider
upness of a device.

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