]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf895e00bce368112dc56a63a5096fbe24fa2c08b
tree51b80be319c1374cdc14473909852c88f3a1322b
parent000ab85b0ed2e344ae8aecae675aa498a25522b6
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]