Re: [PATCH net-next v2 1/4] net: dsa: Add plumbing for port mirroring

2017-01-28 Thread Florian Fainelli
Le 01/28/17 à 01:14, Jiri Pirko a écrit : > Sat, Jan 28, 2017 at 02:25:25AM CET, f.faine...@gmail.com wrote: >> Add necessary plumbing at the slave network device level to have switch >> drivers implement ndo_setup_tc() and most particularly the cls_matchall >> classifier. We add support for two

Re: [PATCH net-next v2 1/4] net: dsa: Add plumbing for port mirroring

2017-01-28 Thread Jiri Pirko
Sat, Jan 28, 2017 at 02:25:25AM CET, f.faine...@gmail.com wrote: >Add necessary plumbing at the slave network device level to have switch >drivers implement ndo_setup_tc() and most particularly the cls_matchall >classifier. We add support for two switch operations: > >port_add_mirror and

[PATCH net-next v2 1/4] net: dsa: Add plumbing for port mirroring

2017-01-27 Thread Florian Fainelli
Add necessary plumbing at the slave network device level to have switch drivers implement ndo_setup_tc() and most particularly the cls_matchall classifier. We add support for two switch operations: port_add_mirror and port_del_mirror() which configure, on a per-port basis the mirror parameters