diff options
author | 2021-07-29 20:18:59 +0300 | |
---|---|---|
committer | 2021-07-29 21:34:45 +0100 | |
commit | 0f3faece58085c94066d14ff9f73e990a55516ac (patch) | |
tree | 4607c71cad1677750451eb9883a28ed25887089e /net/unix/af_unix.c | |
parent | dpaa2-switch: add support for port mirroring (diff) | |
download | wireguard-linux-0f3faece58085c94066d14ff9f73e990a55516ac.tar.xz wireguard-linux-0f3faece58085c94066d14ff9f73e990a55516ac.zip |
dpaa2-switch: add VLAN based mirroring
Using the infrastructure added in the previous patch, extend tc-flower
support with FLOW_ACTION_MIRRED based on VLAN.
Tested with:
tc qdisc add dev eth8 ingress_block 1 clsact
tc filter add block 1 ingress protocol 802.1q flower skip_sw \
vlan_id 100 action mirred egress mirror dev eth6
tc filter del block 1 ingress pref 49152
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions