[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Problem with VLANs on tg3 NICs


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Christopher G. Stach II" <cgs@xxxxxxxxx>
  • Date: Fri, 19 Jan 2007 12:17:18 -0200
  • Delivery-date: Fri, 19 Jan 2007 06:17:01 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.