mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
f2a0e216be
Per-flow mirroring with the VCAP IS2 TCAM (in itself handled as an offload for tc-flower) is done by setting the MIRROR_ENA bit from the action vector of the filter. The packet is mirrored to the port mask configured in the ANA:ANA:MIRRORPORTS register (the same port mask as the destinations for port-based mirroring). Functionality was tested with: tc qdisc add dev swp3 clsact tc filter add dev swp3 ingress protocol ip \ flower skip_sw ip_proto icmp \ action mirred egress mirror dev swp1 and pinging through swp3, while seeing that the ICMP replies are mirrored towards swp1. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
---|---|---|
.. | ||
ocelot_ana.h | ||
ocelot_dev.h | ||
ocelot_hsio.h | ||
ocelot_ptp.h | ||
ocelot_qsys.h | ||
ocelot_sys.h | ||
ocelot_vcap.h | ||
ocelot.h | ||
vsc7514_regs.h |