diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-05-20 00:00:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-23 02:37:32 +0300 |
commit | 076e713365c9f4ca1ff3eca9122664a5359b94da (patch) | |
tree | db195c675192abf39227f398ccf1d237f7e4a242 /net/dsa/dsa_priv.h | |
parent | 3a9afea37e298f4989629553d44b9bf50dc46125 (diff) | |
download | linux-076e713365c9f4ca1ff3eca9122664a5359b94da.tar.xz |
net: dsa: move VLAN handlers
Move the DSA port code which handles VLAN objects in port.c, where it
belongs.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r-- | net/dsa/dsa_priv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index c2a595036746..16021a891095 100644 --- a/net/dsa/dsa_priv.h +++ b/net/dsa/dsa_priv.h @@ -84,6 +84,14 @@ int dsa_port_mdb_del(struct dsa_port *dp, const struct switchdev_obj_port_mdb *mdb); int dsa_port_mdb_dump(struct dsa_port *dp, struct switchdev_obj_port_mdb *mdb, switchdev_obj_dump_cb_t *cb); +int dsa_port_vlan_add(struct dsa_port *dp, + const struct switchdev_obj_port_vlan *vlan, + struct switchdev_trans *trans); +int dsa_port_vlan_del(struct dsa_port *dp, + const struct switchdev_obj_port_vlan *vlan); +int dsa_port_vlan_dump(struct dsa_port *dp, + struct switchdev_obj_port_vlan *vlan, + switchdev_obj_dump_cb_t *cb); /* slave.c */ extern const struct dsa_device_ops notag_netdev_ops; |