commit | bdcff080f7ae1932893436f7891528aa8fc59cb9 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@gmail.com> | Sun Aug 25 13:25:17 2019 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 27 20:17:27 2019 -0700 |
tree | dc3ca953aa4e4f1f7e0b35a85eee24ae1d109646 | |
parent | cf360866b11901eca5317e8a5c26c3e15b7bf1f2 [diff] |
net: dsa: add slave VLAN helpers Add dsa_slave_vlan_add and dsa_slave_vlan_del helpers to handle SWITCHDEV_OBJ_ID_PORT_VLAN switchdev objects. Also copy the switchdev_obj_port_vlan structure on add since we will modify it in future patches. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>