linux/net/dsa
Vivien Didelot 8b0d3ea555 net: dsa: store CPU port pointer in the tree
A dsa_switch_tree instance holds a dsa_switch pointer and a port index
to identify the switch port to which the CPU is attached.

Now that the DSA layer has a dsa_port structure to hold this data, use
it to point the switch CPU port.

This patch simply substitutes s/dst->cpu_switch/dst->cpu_dp->ds/ and
s/dst->cpu_port/dst->cpu_dp->index/.

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-05-17 14:19:12 -04:00
..
dsa2.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
dsa_priv.h net: dsa: add support for the SMSC-LAN9303 tagging format 2017-04-20 13:48:54 -04:00
dsa.c net: dsa: add support for the SMSC-LAN9303 tagging format 2017-04-20 13:48:54 -04:00
Kconfig net: dsa: add support for the SMSC-LAN9303 tagging format 2017-04-20 13:48:54 -04:00
legacy.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
Makefile net: dsa: add support for the SMSC-LAN9303 tagging format 2017-04-20 13:48:54 -04:00
slave.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
switch.c net: dsa: add cross-chip bridging operations 2017-04-01 12:22:57 -07:00
tag_brcm.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
tag_dsa.c net: dsa: Factor bottom tag receive functions 2017-04-08 13:49:36 -07:00
tag_edsa.c net: dsa: Factor bottom tag receive functions 2017-04-08 13:49:36 -07:00
tag_lan9303.c net: dsa: Remove redundant NULL dst check 2017-04-21 10:41:24 -04:00
tag_mtk.c net: dsa: Factor bottom tag receive functions 2017-04-08 13:49:36 -07:00
tag_qca.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
tag_trailer.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00