]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ocelot-vlan'
authorDavid S. Miller <davem@davemloft.net>
Sat, 2 Oct 2021 13:15:57 +0000 (14:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Oct 2021 13:15:57 +0000 (14:15 +0100)
commit6789b77026a820721f16c8dd380ee3ae6835d961
tree62942bf9fe56ab22b1800e8e8f1586a79fd76479
parent59784fc332e3e2820973f6b3cf73ed26da5bb3c9
parentbb43edb7ec644e3c0bb5c60fa5aa3638ffa951b9
Merge branch 'ocelot-vlan'

Vladimir Oltean says:

====================
Egress VLAN modification using VCAP ES0 on Ocelot switches

This patch set adds support for modifying a VLAN ID at the egress stage
of Ocelot/Felix switch ports. It is useful for replicating a packet on
multiple ports, and each egress port sends it using a different VLAN ID.

Tested by rewriting the VLAN ID of both
(a) packets injected from the CPU port
(b) packets received from an external station on a front-facing port

Adding a selftest to make sure it doesn't bit-rot, and if it does, that
it can be traced back easily.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>