diff options
author | David S. Miller <davem@davemloft.net> | 2019-11-11 12:51:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-11 12:51:03 -0800 |
commit | c82488df2460e6cec68e99fd2a850b1b5aa47a0a (patch) | |
tree | 2da4d3d9234e528b053c147d41d8f4ff5c8c86e2 /drivers/net/ethernet/amd/ariadne.h | |
parent | 228200179213bfc9b4d6097e1c26de30bd18c1e6 (diff) | |
parent | f0942e00a1abb6404ca4302c66497fc623676c11 (diff) |
Merge branch 'net-dsa-mv88e6xxx-Add-support-for-port-mirroring'
Iwan R Timmer says:
====================
net: dsa: mv88e6xxx: Add support for port mirroring
This patch series add support for port mirroring in the mv88e6xx switch driver.
The first patch changes the set_egress_port function to allow different egress
ports for egress and ingress traffic. The second patch adds the actual code for
port mirroring support.
Tested on a 88E6176 with:
tc qdisc add dev wan0 clsact
tc filter add dev wan0 ingress matchall skip_sw \
action mirred egress mirror dev lan2
tc filter add dev wan0 egress matchall skip_sw \
action mirred egress mirror dev lan3
Changes in v3
- Use enum for egress traffic direction
- Keep track of egress ports on mv88e6390
- Move booleans in struct for better structure packing
Changes in v2
- Support mirroring egress and ingress traffic to different ports
- Check for invalid configurations when multiple ports are mirrored
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/ariadne.h')
0 files changed, 0 insertions, 0 deletions