linux/net/dsa
Vivien Didelot b22de49086 net: dsa: store CPU switch structure in the tree
Store a dsa_switch pointer to the CPU switch in the tree instead of only
its index. This avoids the need to initialize it to -1.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-18 16:49:46 -05:00
..
dsa2.c net: dsa: store CPU switch structure in the tree 2017-01-18 16:49:46 -05:00
dsa_priv.h net: dsa: move HWMON support to its own file 2017-01-07 22:37:22 -05:00
dsa.c net: dsa: store CPU switch structure in the tree 2017-01-18 16:49:46 -05:00
hwmon.c net: dsa: Make dsa_switch_ops const 2017-01-09 15:44:50 -05:00
Kconfig net: dsa: select NET_SWITCHDEV 2017-01-09 17:17:30 -05:00
Makefile net: dsa: move HWMON support to its own file 2017-01-07 22:37:22 -05:00
slave.c Revert "net: dsa: Implement ndo_get_phys_port_id" 2017-01-11 09:55:54 -05:00
tag_brcm.c net: dsa: Add a ports structure and use it in the switch structure 2016-06-04 14:29:53 -07:00
tag_dsa.c net: dsa: Add a ports structure and use it in the switch structure 2016-06-04 14:29:53 -07:00
tag_edsa.c net: dsa: Add a ports structure and use it in the switch structure 2016-06-04 14:29:53 -07:00
tag_qca.c net-next: dsa: add Qualcomm tag RX/TX handler 2016-09-16 04:31:51 -04:00
tag_trailer.c net: dsa: Add a ports structure and use it in the switch structure 2016-06-04 14:29:53 -07:00