linux/net/dsa
Vivien Didelot 072bb1903a net: dsa: change scope of ageing time setter
Change the scope of the switchdev bridge ageing time attribute setter
from the DSA slave device to the generic DSA port, so that the future
port-wide API can also be used for other port types, such as CPU and DSA
links.

Also ds->ports is now a contiguous array of dsa_port structures, thus
their addresses cannot be NULL. Remove the useless check in
dsa_fastest_ageing_time.

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
..
dsa_priv.h net: dsa: include dsa.h only once 2017-05-18 10:40:12 -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
Kconfig net: dsa: Sort DSA tagging protocol drivers 2017-05-17 15:19:40 -04:00
legacy.c net: dsa: include dsa.h only once 2017-05-18 10:40:12 -04:00
Makefile net: dsa: Sort DSA tagging protocol drivers 2017-05-17 15:19:40 -04:00
slave.c net: dsa: change scope of ageing time 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