diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-05-12 20:20:36 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-05-12 13:08:08 -0700 |
| commit | 88cac0fa534d22ee333c415099ba000d3882fbba (patch) | |
| tree | 4b44f0be41a24b037ce65621c8aaf667d7b1dcad /drivers/fpga/fpga-bridge.c | |
| parent | 2cafa72e516f61b6d82c2416b4f5963fb48fd9ce (diff) | |
net: dsa: sja1105: add packing ops for the Retagging Table
The Retagging Table is an optional feature that allows the switch to
match frames against a {ingress port, egress port, vid} rule and change
their VLAN ID. The retagged frames are by default clones of the original
ones (since the hardware-foreseen use case was to mirror traffic for
debugging purposes and to tag it with a special VLAN for this purpose),
but we can force the original frames to be dropped by removing the
pre-retagging VLAN from the port membership list of the egress port.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
