diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-04-28 21:45:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-30 23:05:29 -0400 |
commit | 314f76d7a68bab0516aa52877944e6aacfa0fc3f (patch) | |
tree | 69566e08f1d74a449e6df3d1444ef89925084780 /drivers/net/dsa/mv88e6060.c | |
parent | e74f014eb4ceeeefe4e5058daac705422eecb683 (diff) |
net: dsa: Add more convenient functions for installing port VLANs
This hides the need to perform a two-phase transaction and construct a
switchdev_obj_port_vlan struct.
Call graph (including a function that will be introduced in a follow-up
patch) looks like this now (same for the *_vlan_del function):
dsa_slave_vlan_rx_add_vid dsa_port_setup_8021q_tagging
| |
| |
| +-------------+
| |
v v
dsa_port_vid_add dsa_slave_port_obj_add
| |
+-------+ +-------+
| |
v v
dsa_port_vlan_add
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6060.c')
0 files changed, 0 insertions, 0 deletions