selftests: forwarding: mirror_gre_lib: Add STP test
authorPetr Machata <petrm@mellanox.com>
Thu, 31 May 2018 17:52:20 +0000 (19:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:11:02 +0000 (14:11 -0400)
commitf52f460ca9714c1aed3a4ec73b4dbd502bfba10c
tree0d205efadcb278e9a746b086f0de4aa271e87c8b
parent275225fb4e3981a55b19ad0caad2eeb2821ae3d5
selftests: forwarding: mirror_gre_lib: Add STP test

Add a reusable full test that toggles STP state of a given bridge port
and checks that the mirroring reacts appropriately. The test will be
used by bridge tests in follow-up patches.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_gre_lib.sh