Re: [PATCH net-next 5/9] net: dsa: use dsa_is_user_port everywhere

2017-10-26 Thread Florian Fainelli
On 10/26/2017 08:22 AM, Vivien Didelot wrote: > Most of the DSA code still check ds->enabled_port_mask directly to > inspect a given port type instead of using the provided dsa_is_user_port > helper. Change this. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

[PATCH net-next 5/9] net: dsa: use dsa_is_user_port everywhere

2017-10-26 Thread Vivien Didelot
Most of the DSA code still check ds->enabled_port_mask directly to inspect a given port type instead of using the provided dsa_is_user_port helper. Change this. Signed-off-by: Vivien Didelot --- drivers/net/dsa/bcm_sf2.c | 9 - drivers/net/dsa/bcm_sf2_cfp.c | 2 +- drivers/net/dsa/mt