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


Groups > linux.kernel > #1321391

Re: [PATCH net] net: dsa: mv88e6xxx: fix port VLAN maps

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net] net: dsa: mv88e6xxx: fix port VLAN maps
Date Fri, 29 Jan 2016 03:20:04 +0100
Message-ID <qW6Pi-4bG-59@gated-at.bofh.it> (permalink)
References <qW2Vm-1tm-21@gated-at.bofh.it>
X-Original-To Vivien Didelot <vivien.didelot@savoirfairelinux.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
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 29
Organization linux.* mail to news gateway
X-Original-Cc netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" <davem@davemloft.net>, Russell King <rmk+kernel@arm.linux.org.uk>, Kevin Smith <kevin.smith@elecsyscorp.com>
X-Original-Date Fri, 29 Jan 2016 03:18:32 +0100
X-Original-Message-ID <20160129021832.GA12692@lunn.ch>
X-Original-References <1454018077-11222-1-git-send-email-vivien.didelot@savoirfairelinux.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1321391

Show key headers only | View raw


On Thu, Jan 28, 2016 at 04:54:37PM -0500, Vivien Didelot wrote:
> Currently the port based VLAN maps should be configured to allow every
> port to egress frames on all other ports, except themselves.
> 
> The debugfs interface shows that they are misconfigured. For instance, a
> 7-port switch has the following content in the related register 0x06:
> 
>        GLOBAL GLOBAL2 SERDES   0    1    2    3    4    5    6
>     ...
>     6:  1fa4    1f0f       4   7f   7e   7d   7c   7b   7a   79
>     ...
> 
> This means that port 3 is allowed to talk to port 2-6, but cannot talk
> to ports 0 and 1. With this fix, port 3 can correctly talk to all ports
> except 3 itself:
> 
>        GLOBAL GLOBAL2 SERDES   0    1    2    3    4    5    6
>     ...
>     6:  1fa4    1f0f       4   7e   7d   7b   77   6f   5f   3f
>     ...
> 
> Fixes: ede8098d0fef ("net: dsa: mv88e6xxx: bridges do not need an FID")
> Reported-by: Kevin Smith <kevin.smith@elecsyscorp.com>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Thanks
	Andrew

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


Thread

[PATCH net] net: dsa: mv88e6xxx: fix port VLAN maps Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-01-28 23:10 +0100
  Re: [PATCH net] net: dsa: mv88e6xxx: fix port VLAN maps Andrew Lunn <andrew@lunn.ch> - 2016-01-29 03:20 +0100
    Re: [PATCH net] net: dsa: mv88e6xxx: fix port VLAN maps Kevin Smith <kevin.smith@elecsyscorp.com> - 2016-01-29 16:30 +0100
  Re: [PATCH net] net: dsa: mv88e6xxx: fix port VLAN maps David Miller <davem@davemloft.net> - 2016-01-30 04:50 +0100

csiph-web