mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
selftests: forwarding: Test mirror-to-vlan
Test for "tc action mirred egress mirror" that mirrors to a vlan device. - test_vlan() tests that the packets get mirrored - test_tagged_vlan() tests that the mirrored packets have correct inner VLAN tag. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
87c0c046e8
commit
35388a6a0c
1 changed files with 169 additions and 0 deletions
169
tools/testing/selftests/net/forwarding/mirror_vlan.sh
Executable file
169
tools/testing/selftests/net/forwarding/mirror_vlan.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue