linux/net/dsa
Vivien Didelot fd36454131 net: dsa: change scope of STP state setter
Instead of having multiple STP state helpers scoping a slave device
supporting both the DSA logic and the switchdev binding, provide a
single dsa_port_set_state helper scoping a DSA port, as well as its
dsa_port_set_state_now wrapper which skips the prepare phase.

This allows us to better separate the DSA logic from the slave device
handling.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-22 19:37:32 -04:00
..
Kconfig net: dsa: Sort DSA tagging protocol drivers 2017-05-17 15:19:40 -04:00
Makefile net: dsa: Sort DSA tagging protocol drivers 2017-05-17 15:19:40 -04:00
dsa.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
dsa2.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
dsa_priv.h net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
legacy.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
slave.c net: dsa: change scope of STP state setter 2017-05-22 19:37:32 -04:00
switch.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_brcm.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_dsa.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_edsa.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_lan9303.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_mtk.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_qca.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
tag_trailer.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00