net: dsa: Add teardown callback for drivers
authorVladimir Oltean <olteanv@gmail.com>
Sat, 8 Jun 2019 12:04:28 +0000 (15:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jun 2019 22:20:39 +0000 (15:20 -0700)
commit5e3f847a02aabfecea519d7b2fd48f4d6f551be6
treeb32622186195aa67532df4663bb1f4584a83a616
parent146d442c2357539589da14d374a25c9a82eb7f1e
net: dsa: Add teardown callback for drivers

This is helpful for e.g. draining per-driver (not per-port) tagger
queues.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa2.c