From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas Subject: Re: Marvell 88E609x switch? Date: Mon, 02 Mar 2009 08:22:17 -0700 Message-ID: <49ABF9A9.2040608@mlbassoc.com> References: <20090227145746.GD17040@xi.wantstofly.org> <49A801E6.1040502@mlbassoc.com> <20090227151441.GE17040@xi.wantstofly.org> <49A80606.1040508@mlbassoc.com> <20090227152721.GG17040@xi.wantstofly.org> <49A806C5.1010200@mlbassoc.com> <20090227153102.GH17040@xi.wantstofly.org> <49A80A75.8000101@mlbassoc.com> <20090227155224.GK17040@xi.wantstofly.org> <20090227222802.GZ17040@xi.wantstofly.org> <1235991382.30736.62.camel@localhost.localdomain> <1235991937.30736.65.camel@localhost.localdomain> <49ABF7DF.8060302@mlbassoc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Lennert Buytenhek , Jesper Dangaard Brouer , netdev To: jdb@comx.dk Return-path: Received: from 137-67-76-76.skybeam.com ([76.76.67.137]:4260 "EHLO mail.chez-thomas.org" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752361AbZCBPWl (ORCPT ); Mon, 2 Mar 2009 10:22:41 -0500 In-Reply-To: <49ABF7DF.8060302@mlbassoc.com> Sender: netdev-owner@vger.kernel.org List-ID: Gary Thomas wrote: > Jesper Dangaard Brouer wrote: >> On Mon, 2009-03-02 at 11:56 +0100, Jesper Dangaard Brouer wrote: >> >>> You should write 0x003E ... see attached patch >> Ups, I see (from the thread) that you have already done/tried this... >> > > Yes, although I think it will need some work in the future > (I've set it to 1000Mb connection, you said you used 100Mb, etc) > > Question: I'm testing this by trying a ping out of my box. > Linux replies by sending an ARP packet out, and the destination > replies with an ARP packet in. I can see from the ethtool stats > that the reply packets get into lan1.1 (the physical port I'm > using), but I don't see them get moved through the CPU port. > My understanding is that this should work via the VLAN map? > I checked that setup and it looks OK. > > Any ideas where this might be going wrong? I also just noticed that the ESA registers (Global 1,2,3) aren't set at all. I'm pretty sure that the way I'm using the switch in my bootloader this doesn't matter as all packets have a fixed routing and the ESA recognition happens at the actual ethernet device. Is this going to cause problems with the VLAN (+DSA) based routing? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------