Vivien Didelot
79b139f4bc
net: dsa: use switchdev handle helpers
...
Get rid of the dsa_slave_switchdev_port_{attr_set,obj}_event functions
in favor of the switchdev_handle_port_{attr_set,obj_add,obj_del}
helpers which recurse into the lower devices of the target interface.
This has the benefit of being aware of the operations made on the
bridge device itself, where orig_dev is the bridge, and dev is the
slave. This can be used later to configure the hardware switches.
Only VLAN and (port) MDB objects not directly targeting the slave
device are unsupported at the moment, so skip this case in their
respective case statements.
Signed-off-by: Vivien Didelot <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2019-06-14 20:20:07 -07:00
..
dsa.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
2019-05-30 11:26:32 -07:00
dsa2.c
net: dsa: Add teardown callback for drivers
2019-06-08 15:20:39 -07:00
dsa_priv.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-07 11:00:14 -07:00
Kconfig
net: dsa: tag_sja1105: Select CONFIG_PACKING
2019-06-13 22:42:19 -07:00
Makefile
net: dsa: sja1105: Add support for traffic through standalone ports
2019-05-05 21:52:42 -07:00
master.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
2019-05-30 11:26:32 -07:00
port.c
net: dsa: do not check orig_dev in vlan del
2019-06-14 20:20:07 -07:00
slave.c
net: dsa: use switchdev handle helpers
2019-06-14 20:20:07 -07:00
switch.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
2019-05-30 11:26:32 -07:00
tag_8021q.c
net: dsa: tag_8021q: Create helper function for removing VLAN header
2019-06-08 15:20:39 -07:00
tag_brcm.c
dsa: tag_brcm: Fix build error without CONFIG_NET_DSA_TAG_BRCM_PREPEND
2019-05-10 15:06:45 -07:00
tag_dsa.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_edsa.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_gswip.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_ksz.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_lan9303.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_mtk.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_qca.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00
tag_sja1105.c
net: dsa: sja1105: Add a state machine for RX timestamping
2019-06-08 15:20:40 -07:00
tag_trailer.c
dsa: Cleanup unneeded table and make tag structures static
2019-04-28 19:41:01 -04:00