selftests: router_bridge_vlan: Add PVID change test
authorPetr Machata <petrm@nvidia.com>
Thu, 13 Jul 2023 16:15:32 +0000 (18:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 09:20:15 +0000 (10:20 +0100)
commitd4172a93b2792387970148541336aad6d2c8bed8
treebf32cd3a2ddc5cf84d1957b4e73df0a14c326be6
parentc7203a2981dcd0aa738312a458317d86037a69e7
selftests: router_bridge_vlan: Add PVID change test

Add an alternative path involving VLAN 777 instead of the current 555. Then
add tests that verify that marking 777 as PVID makes the 555 path not work,
and the 777 path work.

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_vlan.sh