linux/net/dsa
Vivien Didelot 6da2a940ac net: dsa: rework switch addition and removal
This patch removes the unnecessary index argument from the
dsa_dst_add_ds and dsa_dst_del_ds functions and renames them to
dsa_tree_add_switch and dsa_tree_remove_switch respectively.

In addition to a more explicit scope, we now check the presence of an
existing switch with the same index directly within dsa_tree_add_switch.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-05 22:31:39 +09:00
..
dsa2.c net: dsa: rework switch addition and removal 2017-11-05 22:31:39 +09:00
dsa_priv.h net: dsa: remove name arg from slave create 2017-11-01 11:47:36 +09:00
dsa.c net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: remove name arg from slave create 2017-11-01 11:47:36 +09:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
master.c net: dsa: change dsa_ptr for a dsa_port 2017-10-01 04:15:07 +01:00
port.c net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
slave.c net: dsa: make tree index unsigned 2017-11-05 22:31:38 +09:00
switch.c net: dsa: Remove switchdev dependency from DSA switch notifier chain 2017-08-07 14:48:48 -07:00
tag_brcm.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_dsa.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_edsa.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_ksz.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_lan9303.c net: dsa: lan9303: lan9303_rcv set skb->offload_fwd_mark 2017-11-01 21:30:24 +09:00
tag_mtk.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_qca.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_trailer.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00