Home
last modified time | relevance | path

Searched hist:f50f212749e8a28803af3628acbeb85ee0458ed5 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Ddsa.hdiff f50f212749e8a28803af3628acbeb85ee0458ed5 Mon Jan 30 14:41:40 CST 2017 Florian Fainelli <f.fainelli@gmail.com> net: dsa: Add plumbing for port mirroring

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 requested from the cls_matchall classifier.

Code is largely borrowed from the Mellanox Spectrum switch driver.

Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/dsa/
H A Dslave.cdiff f50f212749e8a28803af3628acbeb85ee0458ed5 Mon Jan 30 14:41:40 CST 2017 Florian Fainelli <f.fainelli@gmail.com> net: dsa: Add plumbing for port mirroring

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 requested from the cls_matchall classifier.

Code is largely borrowed from the Mellanox Spectrum switch driver.

Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>