[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191004.144402.1481680815632953232.davem@davemloft.net>
Date: Fri, 04 Oct 2019 14:44:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: olteanv@...il.com
Cc: andrew@...n.ch, f.fainelli@...il.com, vivien.didelot@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net: dsa: sja1105: Add support for port
mirroring
From: Vladimir Oltean <olteanv@...il.com>
Date: Fri, 4 Oct 2019 03:33:47 +0300
> Amazingly, of all features, this does not require a switch reset.
>
> Tested with:
>
> tc qdisc add dev swp2 clsact
> tc filter add dev swp2 ingress matchall skip_sw \
> action mirred egress mirror dev swp3
> tc filter show dev swp2 ingress
> tc filter del dev swp2 ingress pref 49152
>
> Signed-off-by: Vladimir Oltean <olteanv@...il.com>
> ---
> Changes in v2:
> - Reworked the error message to print the mirror port correctly.
Applied.
Powered by blists - more mailing lists