[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net-next 3/9] net: dsa: fix dsa_is_normal_port helper
On 10/26/2017 08:22 AM, Vivien Didelot wrote:
> In order to know if a port is of type user, dsa_is_normal_port checks
> that the given port is not of type DSA nor CPU. This is not enough
> because a port can be unused.
> Without the previous fix, this caused the unused mv88e6xxx ports to be
> configured in normal mode.
> The ds->enabled_port_mask reports the user ports, so check this instead.
> Signed-off-by: Vivien Didelot <>

Reviewed-by: Florian Fainelli <>

 \ /
  Last update: 2017-10-27 01:09    [W:0.113 / U:15.448 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site