[PATCH net-next v2 0/2] net: dsa: mv88e6xxx: Add support for port mirroring

2019-10-21 Thread Iwan R Timmer
for invalid configurations when multiple ports are mirrored Iwan R Timmer (2): net: dsa: mv88e6xxx: Split monitor port configuration net: dsa: mv88e6xxx: Add support for port mirroring drivers/net/dsa/mv88e6xxx/chip.c| 79 - drivers/net/dsa/mv88e6xxx/chip.h

[PATCH net-next v2 1/2] net: dsa: mv88e6xxx: Split monitor port configuration

2019-10-21 Thread Iwan R Timmer
Separate the configuration of the egress and ingress monitor port. This allows the port mirror functionality to do ingress and egress port mirroring to separate ports. Signed-off-by: Iwan R Timmer --- drivers/net/dsa/mv88e6xxx/chip.c| 9 - drivers/net/dsa/mv88e6xxx/chip.h| 3

[PATCH net-next v2 2/2] net: dsa: mv88e6xxx: Add support for port mirroring

2019-10-21 Thread Iwan R Timmer
changes to the capture port while other ports are being mirrored. Signed-off-by: Iwan R Timmer --- drivers/net/dsa/mv88e6xxx/chip.c| 70 + drivers/net/dsa/mv88e6xxx/chip.h| 6 +++ drivers/net/dsa/mv88e6xxx/global1.c | 11 - drivers/net/dsa/mv88e6xxx/port.c

Re: [PATCH net-next] net: dsa: mv88e6xxx: Add support for port mirroring

2019-09-17 Thread Iwan R Timmer
On Tue, Sep 17, 2019 at 10:55:05PM +0200, Andrew Lunn wrote: > On Tue, Sep 17, 2019 at 10:23:01PM +0200, Iwan R Timmer wrote: > > Add support for configuring port mirroring through the cls_matchall > > classifier. We do a full ingress and/or egress capture towards the > > cap

[PATCH net-next] net: dsa: mv88e6xxx: Add support for port mirroring

2019-09-17 Thread Iwan R Timmer
Add support for configuring port mirroring through the cls_matchall classifier. We do a full ingress and/or egress capture towards the capture port, configured with set_egress_port. Signed-off-by: Iwan R Timmer --- drivers/net/dsa/mv88e6xxx/chip.c | 36 drivers