WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

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