lkml.org 
[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 net-next 23/24] Documentation: net: dsa: Add details about NXP SJA1105 driver
From
Date


On 12/04/2019 18:28, Vladimir Oltean wrote:

[snip]

> +Segregating the switch ports in multiple bridges is supported (e.g. 2 + 2), but
> +all bridges should have the same level of VLAN awareness (either both have
> +``vlan_filtering`` 0, or both 1). Also an inevitable limitation of the fact
> +that VLAN awareness is global at the switch level is that once a bridge with
> +``vlan_filtering`` enslaves at least one switch port, the other un-bridged
> +ports are no longer available for standalone traffic termination.

That is quite a limitation that I don't think I had fully grasped until
reading your different patches. Since enslaving ports into a bridge
comes after the network device was already made available for use, maybe
you should force the carrier down or something along those lines as soon
as a port is enslaved into a bridge with vlan_filtering=1 to make this
more predictable for the user?
--
Florian

\
 
 \ /
  Last update: 2019-04-17 02:21    [W:0.304 / U:2.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site