selftests: router_bridge: Add tests to remove and add PVID
authorPetr Machata <petrm@nvidia.com>
Thu, 13 Jul 2023 16:15:31 +0000 (18:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 09:20:15 +0000 (10:20 +0100)
commitc7203a2981dcd0aa738312a458317d86037a69e7
tree5c4c43234c9b667752206b6932d5bdaf5bd86b92
parent5f44a7144cc59e18454a74e0ed1d0bc33e9cf398
selftests: router_bridge: Add tests to remove and add PVID

This test relies on PVID being configured on the bridge itself. Thus when
it is deconfigured, the system should lose the ability to forward traffic.
Later when it is added again, the ability to forward traffic should be
regained. Add tests to exercise these configuration changes and verify
results.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/router_bridge.sh