aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/tag_dsa.c
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-04-28 21:45:54 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-30 23:05:29 -0400
commit314f76d7a68bab0516aa52877944e6aacfa0fc3f (patch)
tree69566e08f1d74a449e6df3d1444ef89925084780 /net/dsa/tag_dsa.c
parentnet: dsa: b53: Use vlan_filtering property from dsa_switch (diff)
downloadlinux-dev-314f76d7a68bab0516aa52877944e6aacfa0fc3f.tar.xz
linux-dev-314f76d7a68bab0516aa52877944e6aacfa0fc3f.zip
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 'net/dsa/tag_dsa.c')
0 files changed, 0 insertions, 0 deletions