Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1333304 > unrolled thread

Re: [PATCH net] net: dsa: mv88e6xxx: do not leave reserved VLANs

Started byDavid Miller <davem@davemloft.net>
First post2016-02-13 12:10 +0100
Last post2016-02-13 12:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH net] net: dsa: mv88e6xxx: do not leave reserved VLANs David Miller <davem@davemloft.net> - 2016-02-13 12:10 +0100

#1333304 — Re: [PATCH net] net: dsa: mv88e6xxx: do not leave reserved VLANs

FromDavid Miller <davem@davemloft.net>
Date2016-02-13 12:10 +0100
SubjectRe: [PATCH net] net: dsa: mv88e6xxx: do not leave reserved VLANs
Message-ID<r1Gfo-3Vl-21@gated-at.bofh.it>
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Fri,  5 Feb 2016 14:07:14 -0500

> BRIDGE_VLAN_FILTERING automatically adds a newly bridged port to the
> VLAN with the bridge's default_pvid.
> 
> The mv88e6xxx driver currently reserves VLANs 4000+ for unbridged ports
> isolation. When a port joins a bridge, it leaves its reserved VLAN. When
> a port leaves a bridge, it joins again its reserved VLAN.
> 
> But if the VLAN filtering is disabled, or if this hardware VLAN is
> already in use, the bridged port ends up with no default VLAN, and the
> communication with the CPU is thus broken.
> 
> To fix this, make a port join its reserved VLAN once on setup, never
> leave it, and restore its PVID after another one was eventually used.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Applied.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web