net: mscc: ocelot: break apart vlan operations into ocelot_vlan_{add, del}
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Nov 2019 13:02:48 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2019 20:59:09 +0000 (12:59 -0800)
commit9855934c27855002aa977bb879c6e1fe74ee5f03
tree446ced278860455474491568d060b9a98003fa25
parent97bb69e1e36e960b0ecfa2be5ea75ec357a61c3f
net: mscc: ocelot: break apart vlan operations into ocelot_vlan_{add, del}

We need an implementation of these functions that is agnostic to the
higher layer (switchdev or dsa).

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c