[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200317.224030.840555474337698762.davem@davemloft.net>
Date: Tue, 17 Mar 2020 22:40:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rmk+kernel@...linux.org.uk
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
netdev@...r.kernel.org, vivien.didelot@...il.com, kuba@...nel.org
Subject: Re: [PATCH REPOST net-next] net: dsa: mv88e6xxx: fix vlan setup
From: Russell King <rmk+kernel@...linux.org.uk>
Date: Tue, 17 Mar 2020 12:08:08 +0000
> DSA assumes that a bridge which has vlan filtering disabled is not
> vlan aware, and ignores all vlan configuration. However, the kernel
> software bridge code allows configuration in this state.
>
> This causes the kernel's idea of the bridge vlan state and the
> hardware state to disagree, so "bridge vlan show" indicates a correct
> configuration but the hardware lacks all configuration. Even worse,
> enabling vlan filtering on a DSA bridge immediately blocks all traffic
> which, given the output of "bridge vlan show", is very confusing.
>
> Provide an option that drivers can set to indicate they want to receive
> vlan configuration even when vlan filtering is disabled. This is safe
> for Marvell DSA bridges, which do not look up ingress traffic in the
> VTU if the port is in 8021Q disabled state. Whether this change is
> suitable for all DSA bridges is not known.
>
> Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
> ---
> This patch depends on, and completes the changes previously merged in
> net-next in 2b99e54b30ed ("Merge branch 'VLANs-DSA-switches-and-multiple-bridges'")
> It has been delayed due to the lack of discussion concerning the
> naming of "vlan_bridge_vtu" which remains unresolved.
Looks like some alternative names have been suggested finally, please
repost with that change.
Thanks.
Powered by blists - more mailing lists