selftests: router_bridge_vlan_upper_pvid: Add a new selftest
authorPetr Machata <petrm@nvidia.com>
Thu, 13 Jul 2023 16:15:33 +0000 (18:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 09:20:15 +0000 (10:20 +0100)
commitb0307b77265bc8e2f4d2ecea3225ed2de8565a70
tree72232719ec6a358478ac5e7e3778f3078b70b936
parentd4172a93b2792387970148541336aad6d2c8bed8
selftests: router_bridge_vlan_upper_pvid: Add a new selftest

This tests whether changes to PVID that coincide with an existing VLAN
upper throw off forwarding. This selftests is specifically geared towards
offloading drivers, but since there's nothing HW-specific in the test
itself (it absolutely is supposed to pass on SW datapath), it is put into
the generic forwarding directory.

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/Makefile
tools/testing/selftests/net/forwarding/router_bridge_vlan_upper_pvid.sh [new file with mode: 0755]