linux-stable/net/dsa
Vivien Didelot 8e92ab3a42 net: dsa: simplify netdevice events handling
Simplify the code handling the slave netdevice notifier call by
providing a dsa_slave_changeupper helper for NETDEV_CHANGEUPPER, and so
on (only this event is supported at the moment.)

Return NOTIFY_DONE when we did not care about an event, and NOTIFY_OK
when we were concerned but no error occurred, as the API suggests.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-06 16:53:28 -05:00
..
Kconfig net: dsa: Remove hwmon support 2017-01-20 14:42:51 -05:00
Makefile net: dsa: Remove hwmon support 2017-01-20 14:42:51 -05:00
dsa.c net: dsa: move netdevice notifier registration 2017-02-06 16:53:28 -05:00
dsa2.c net: dsa: add ds and index to dsa_port 2017-01-29 18:42:46 -05:00
dsa_priv.h net: dsa: move netdevice notifier registration 2017-02-06 16:53:28 -05:00
slave.c net: dsa: simplify netdevice events handling 2017-02-06 16:53:28 -05:00
tag_brcm.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_dsa.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_edsa.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_qca.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_trailer.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00