platform_kernel-5.15/net/dsa
Vivien Didelot 6457edfe73 net: dsa: make slave close symmetrical to open
The DSA slave open function configures the unicast MAC addresses on the
master device, enable the switch port, change its STP state, then start
the PHY device.

Make the close function symmetric, by first stopping the PHY device,
then changing the STP state, disabling the switch port and restore the
master device.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-25 20:22:46 -07:00
..
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
Makefile net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
dsa.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
dsa2.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
dsa_priv.h net: dsa: add port fdb dump 2017-09-21 15:24:01 -07:00
legacy.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
master.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
port.c net: dsa: add port fdb dump 2017-09-21 15:24:01 -07:00
slave.c net: dsa: make slave close symmetrical to open 2017-09-25 20:22:46 -07: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: tag_brcm: Set output queue from skb queue mapping 2017-09-05 11:53:34 -07:00
tag_dsa.c dsa: remove unused net_device arg from handlers 2017-08-21 10:39:11 -07:00
tag_edsa.c dsa: remove unused net_device arg from handlers 2017-08-21 10:39:11 -07:00
tag_ksz.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
tag_lan9303.c dsa: remove unused net_device arg from handlers 2017-08-21 10:39:11 -07:00
tag_mtk.c dsa: remove unused net_device arg from handlers 2017-08-21 10:39:11 -07:00
tag_qca.c dsa: remove unused net_device arg from handlers 2017-08-21 10:39:11 -07:00
tag_trailer.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00