]> 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)
commit970de908a5de33e43fef459d3a4a746772ddcf9a
tree62942bf9fe56ab22b1800e8e8f1586a79fd76479
parentd3fa5c7886c74051bcf014c7b914eca6d6205c06
parent8a2bf104cdeeee6151b0d0b6426db69eed002faf
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>