[Bridge] [PATCH] Add vlan id to bridge forward database

Jaime Medrano jaime.medrano at gmail.com
Tue Apr 29 08:18:43 PDT 2008


On Tue, Apr 29, 2008 at 02:43:42PM +0200, Benny Amorsen wrote:
> Jaime Medrano <jaime.medrano at gmail.com> 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.


More information about the Bridge mailing list