selftests: router_bridge_1d: Add a new selftest
authorPetr Machata <petrm@nvidia.com>
Mon, 31 Jul 2023 15:47:16 +0000 (17:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2023 08:18:18 +0000 (09:18 +0100)
commit0a06e0c1af97e5b9510cf29b7a7ac2e9dc4b612c
tree4d8510352a0a98280a04a154ff3720514aed1973
parenteb1388553ef4f30d75ed7d5b8eb55ed849f685b5
selftests: router_bridge_1d: Add a new selftest

Add a selftest to verify that routing through a 1d bridge works when VLAN
upper of a physical port is used instead of a physical port. Also verify
that when a port is attached to an already-configured bridge, the
configuration is applied.

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_1d.sh [new file with mode: 0755]