WSL2-Linux-Kernel/net/dsa
Florian Fainelli 5447d78623 net: dsa: Do not register devlink for unused ports
Even if commit 1d27732f41 ("net: dsa: setup and teardown ports") indicated
that registering a devlink instance for unused ports is not a problem, and this
is true, this can be confusing nonetheless, so let's not do it.

Fixes: 1d27732f41 ("net: dsa: setup and teardown ports")
Reported-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-18 12:08:25 -04:00
..
Kconfig net: dsa: Allow compiling out legacy support 2017-12-07 14:14:54 -05:00
Makefile net: dsa: Allow compiling out legacy support 2017-12-07 14:14:54 -05:00
dsa.c net: dsa: forward timestamping callbacks to switch drivers 2018-02-14 14:33:37 -05:00
dsa2.c net: dsa: Do not register devlink for unused ports 2018-05-18 12:08:25 -04:00
dsa_priv.h net: dsa: Discard frames from unused ports 2018-04-08 10:34:49 -04:00
legacy.c net: dsa: Fix dsa_is_user_port() test inversion 2018-03-12 21:04:55 -04:00
master.c dsa: Pass the port to get_sset_count() 2018-03-04 13:34:18 -05:00
port.c net: dsa: Support internal phy on 'cpu' port 2018-01-23 19:22:38 -05:00
slave.c dsa: Pass the port to get_sset_count() 2018-03-04 13:34:18 -05:00
switch.c net: dsa: support cross-chip FDB operations 2017-12-02 21:21:17 -05:00
tag_brcm.c net: dsa: Move padding into Broadcom tagger 2018-01-05 11:21:31 -05:00
tag_dsa.c net: dsa: {e}dsa: set offload_fwd_mark on received packets 2017-11-11 19:33:11 +09:00
tag_edsa.c net: dsa: {e}dsa: set offload_fwd_mark on received packets 2017-11-11 19:33:11 +09:00
tag_ksz.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_lan9303.c net: dsa: lan9303: calculate offload_fwd_mark from tag 2017-11-14 21:47:48 +09:00
tag_mtk.c net: dsa: mediatek: combine MediaTek tag with VLAN tag 2017-12-15 10:31:54 -05:00
tag_qca.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_trailer.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00