linux/tools/testing/selftests/drivers/net
Vladimir Oltean 434ef35095 selftests: net: mscc: ocelot: add a test for egress VLAN modification
For this test we are exercising the VCAP ES0 block's ability to match on
a packet with a given VLAN ID, and push an ES0 TAG A with a VID derived
from VID_A_VAL plus the classified VLAN.

$eth3.200 is the generator port
$eth0 is the bridged DUT port that receives
$eth1 is the bridged DUT port that forwards and rewrites VID 200 to 300
      on egress via VCAP ES0
$eth2 is the port that receives from the DUT port $eth1

Since the egress rewriting happens outside the bridging service, VID 300
does not need to be in the bridge VLAN table of $eth1.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-02 14:15:57 +01:00
..
mlxsw selftests: Clean forgotten resources as part of cleanup() 2021-06-08 14:39:07 -07:00
netdevsim selftests: net: test ethtool -L vs mq 2021-09-15 15:46:02 +01:00
ocelot selftests: net: mscc: ocelot: add a test for egress VLAN modification 2021-10-02 14:15:57 +01:00