net: dsa: slave: Handle switchdev host mdb add/del
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Nov 2017 22:11:00 +0000 (23:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Nov 2017 04:41:40 +0000 (13:41 +0900)
commit5f4dbc50ce4d74b6f57a25fa114fcefe55acce17
treef3241a3433b9af70efd5928fc0cea21c52e16208
parent47d5b6db2afa766d7af85db684d0b5f092e4fc46
net: dsa: slave: Handle switchdev host mdb add/del

Add code to handle switchdev host mdb add/del. Since DSA uses one of
the switch ports as a transport to the host, we just need to add an
MDB on this port.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c