Files
linux/include/net
Vivien Didelot bff7b688d5 net: dsa: add dsa_is_unused_port helper
As the comment above the chunk states, the b53 driver attempts to
disable the unused ports. But using ds->enabled_port_mask is misleading,
because this mask reports in fact the user ports.

To avoid confusion and fix this, this patch introduces an explicit
dsa_is_unused_port helper which ensures the corresponding bit is not
masked in any of the switch port masks.

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-10-28 00:00:09 +09:00
..
2017-07-11 06:08:58 -04:00
2017-10-27 16:35:43 +09:00
2017-04-05 10:15:20 +02:00
2016-07-08 12:20:57 +02:00
2017-08-31 14:42:19 -07:00
2017-10-28 00:00:09 +09:00
2017-04-14 10:06:42 +02:00
2017-10-11 09:49:34 +02:00
2017-10-11 09:49:34 +02:00
2017-02-03 15:16:45 -05:00
2017-10-07 21:22:58 +01:00
2017-09-29 06:19:32 +01:00
2016-08-17 19:36:23 -04:00
2016-10-03 02:00:22 -04:00
2016-07-08 12:20:57 +02:00
2016-12-25 17:21:22 +01:00
2017-01-09 16:07:41 -05:00
2017-10-24 18:46:22 +09:00
2017-10-27 16:35:43 +09:00
2017-06-15 12:12:40 -04:00