diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2024-04-13 16:01:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-17 10:56:36 +0300 |
commit | d59cf049c8378677053703e724808836f180888e (patch) | |
tree | 95592655444d94cb22858efb4cc1dc9f63225f4f /Documentation/security | |
parent | f8bbc07ac535593139c875ffa19af924b1084540 (diff) | |
download | linux-d59cf049c8378677053703e724808836f180888e.tar.xz |
net: dsa: mt7530: fix mirroring frames received on local port
This switch intellectual property provides a bit on the ARL global control
register which controls allowing mirroring frames which are received on the
local port (monitor port). This bit is unset after reset.
This ability must be enabled to fully support the port mirroring feature on
this switch intellectual property.
Therefore, this patch fixes the traffic not being reflected on a port,
which would be configured like below:
tc qdisc add dev swp0 clsact
tc filter add dev swp0 ingress matchall skip_sw \
action mirred egress mirror dev swp0
As a side note, this configuration provides the hairpinning feature for a
single port.
Fixes: 37feab6076aa ("net: dsa: mt7530: add support for port mirroring")
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/security')
0 files changed, 0 insertions, 0 deletions