From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752398AbbJMLLK (ORCPT ); Tue, 13 Oct 2015 07:11:10 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:47352 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751779AbbJMLLI (ORCPT ); Tue, 13 Oct 2015 07:11:08 -0400 Date: Tue, 13 Oct 2015 04:27:07 -0700 (PDT) Message-Id: <20151013.042707.1037079582649207903.davem@davemloft.net> To: vivien.didelot@savoirfairelinux.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, linux@roeck-us.net, andrew@lunn.ch, f.fainelli@gmail.com, narmstrong@baylibre.com Subject: Re: [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging From: David Miller In-Reply-To: <1444601318-20561-1-git-send-email-vivien.didelot@savoirfairelinux.com> References: <1444601318-20561-1-git-send-email-vivien.didelot@savoirfairelinux.com> X-Mailer: Mew version 6.4 on Emacs 23.4 / 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, 13 Oct 2015 04:11:07 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vivien Didelot Date: Sun, 11 Oct 2015 18:08:34 -0400 > DSA and its drivers currently hook the NETDEV_CHANGEUPPER net_device event in > order to configure the VLAN map of every port. > > This VLAN map is a feature of these switch chips to hardcode and restrict which > output ports a given input port can egress frames to. > > A Linux bridge is a simple untagged VLAN propagated by the bridge code itself. > With a proper 802.1Q support, a driver does not need this hook anymore, and > will simply program the related VLAN object. > > This patchset improves the hardware bridging code in the mv88e6xxx driver with > a strict 802.1Q mode. > > Ideally, the equivalent must be done for Broadcom Starfighter 2 and Rocker, > before completely getting rid of this hook. Series applied, thanks Vivien.