selftests: forwarding: Test mirror-to-gre w/ UL 802.1d+VLAN
authorPetr Machata <petrm@mellanox.com>
Thu, 24 May 2018 14:28:06 +0000 (16:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 02:26:20 +0000 (22:26 -0400)
commit181d95f8e145d0dc755bcfb39d9e28c93a0c3966
tree51b80be319c1374cdc14473909852c88f3a1322b
parenta08fb9f1ad8d8ee4a3dfa85b2182553543c0c301
selftests: forwarding: Test mirror-to-gre w/ UL 802.1d+VLAN

Test for "tc action mirred egress mirror" that mirrors to GRE when the
underlay route points at an 802.1d bridge and packet egresses through a
VLAN device.

Besides testing basic connectivity, this also tests that the traffic is
properly tagged.

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