Re: [PATCH] Add vlan id to bridge forward database

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

 



On Tue, Apr 29, 2008 at 02:43:42PM +0200, Benny Amorsen wrote:
> Jaime Medrano <jaime.medrano@xxxxxxxxx> writes:
> > Yes, I know. However, AFAIK out of band passing of the vlan tag is only
> > done when a vlan device is created and attached to the ethernet device
> > of the port. 
> 
> If the driver supports VLAN acceleration, it is usually on by default.
> At least I can't tcpdump VLAN packets with intact VLAN tags on my
> notebook's tg3 card -- even if I haven't loaded the 8021q module at
> all. It's rather annoying, really.

That's weird.

I've got a tg3 card and I see the tags in tcpdump unless I register a vlan
device to it.

I've taken a look at the source code of the tg3 driver and
vlan_hwaccel_receive_skb() only gets called if a prior
tg3_vlan_rx_register() has been made.
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux