selftests: drivers: dsa: add a subset of forwarding selftests

This adds an initial subset of forwarding selftests which I considered
to be relevant for DSA drivers, along with a forwarding.config that
makes it easier to run them (disables veth pair creation, makes sure MAC
addresses are unique and stable).

The intention is to request driver writers to run these selftests during
review and make sure that the tests pass, or at least that the problems
are known.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Vladimir Oltean 2022-04-22 13:15:04 +03:00 committed by David S. Miller
parent 90b9566aa5
commit 07c8a2dd69
10 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
../../../net/forwarding/bridge_locked_port.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/bridge_mdb.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/bridge_mld.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/bridge_vlan_aware.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/bridge_vlan_mcast.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/bridge_vlan_unaware.sh

View File

@ -0,0 +1,2 @@
NETIF_CREATE=no
STABLE_MAC_ADDRS=yes

View File

@ -0,0 +1 @@
../../../net/forwarding/lib.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/local_termination.sh

View File

@ -0,0 +1 @@
../../../net/forwarding/no_forwarding.sh