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


Groups > linux.kernel > #1261709

Re: [PATCH net] net: dsa: mv88e6xxx: include DSA ports in VLANs

Path csiph.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net] net: dsa: mv88e6xxx: include DSA ports in VLANs
Date Tue, 03 Nov 2015 17:40:03 +0100
Message-ID <qqMMP-5fY-25@gated-at.bofh.it> (permalink)
References <qqMjN-53W-29@gated-at.bofh.it>
X-Original-To vivien.didelot@savoirfairelinux.com
X-Mailer Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
MIME-Version 1.0
Content-Type Text/Plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 03 Nov 2015 08:35:22 -0800 (PST)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
X-Original-Cc netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, f.fainelli@gmail.com, andrew@lunn.ch
X-Original-Date Tue, 03 Nov 2015 11:35:18 -0500 (EST)
X-Original-Message-ID <20151103.113518.611629631978527699.davem@davemloft.net>
X-Original-References <1446565972-4269-1-git-send-email-vivien.didelot@savoirfairelinux.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1261709

Show key headers only | View raw


From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Tue,  3 Nov 2015 10:52:52 -0500

> DSA ports must be members of a VLAN in order to ensure frame bridging
> between chained switch chips.
> 
> Thus tag them in addition to the CPU port when adding a VLAN, and skip
> them when deleting a VLAN and reporting VLAN members.
> 
> Also use the UNMODIFIED egress policy, so that frames egress on these
> ports as they ingress, tagged or untagged.
> 
> Fixes: 0d3b33e60206 ("net: dsa: mv88e6xxx: add VLAN Load support")
> Reported-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH net] net: dsa: mv88e6xxx: include DSA ports in VLANs Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2015-11-03 17:10 +0100
  Re: [PATCH net] net: dsa: mv88e6xxx: include DSA ports in VLANs David Miller <davem@davemloft.net> - 2015-11-03 17:40 +0100

csiph-web