diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-10-01 18:15:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-02 14:15:57 +0100 |
commit | 434ef35095d6d9da013d4d8f3777ffd99cce699a (patch) | |
tree | 62942bf9fe56ab22b1800e8e8f1586a79fd76479 /drivers/net/wwan/iosm/iosm_ipc_flash.c | |
parent | 4a907f659461908cd546bca083b373f6de20aa24 (diff) |
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>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_flash.c')
0 files changed, 0 insertions, 0 deletions