From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher G. Stach II" Subject: Re: Problem with VLANs on tg3 NICs Date: Fri, 19 Jan 2007 12:17:18 -0200 Message-ID: <45B0D2EE.4040909@ldsys.net> References: <45AFCB74.4030909@scalent.com> <8A87A9A84C201449A0C56B728ACF491E04F1AA@liverpoolst.ad.cl.cam.ac.uk> <45AFEAC8.7050904@scalent.com> <8A87A9A84C201449A0C56B728ACF491E04F1B6@liverpoolst.ad.cl.cam.ac.uk> <8A87A9A84C201449A0C56B728ACF491E04F1BF@liverpoolst.ad.cl.cam.ac.uk> <45B0C2FE.9050009@scalent.com> <8A87A9A84C201449A0C56B728ACF491E04F1CE@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E04F1CE@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Pratt wrote: >> The problem is not with the bridge, the problem is with the tg3 >> driver. I believe that any network utility on top of the tg3 driver >> would have the same problem, as the tg3 driver is stripping the vlan >> tags before it passes them on. > > Presumably the tg3 driver works fine if you're just using vconfig to > 'terminate' particular vlan's in the kernel? > > Looking at the driver, you might want to try modifying tg3_rx to always > call netif_receive_skb rather than tg3_vlan_rx > > The other thing you could do is to copy the driver out of 2.6.20 to see > if that helps. > > Ian The proprietary driver has tag stripping options, as well. I have never used it, though. I think the tg3 driver will receive without tag stripping if the interface is configured with a vlan (and then pass to the VLAN interface), but always strip otherwise. I haven't messed with it in a long time, so I could be wrong. -- Christopher G. Stach II