Subject: HW-assisted VLAN handling
To: None <>
From: Jaromir Dolecek <>
List: tech-kern
Date: 01/29/2005 14:52:39
I'm working on an ethernet driver. The hardware has a VLAN ID filter,
similar to multicast filter, which needs to be adjusted whenever
the interface is configured for any vlan, so that the hardware
would accept packets on this VLAN.

AFAICS there is no easy way currently for a driver to figure
list of vlan(4) interfaces it's parent for, or a list of vlan IDs
it's supposed to handle.

How do other drivers deal with this? I don't see any special handling
in stge(4), bge(4) at least. Do the other drivers just accept all
vlan-tagged packets and let vlan_input() sort it out?

Jaromir Dolecek <>  
-=- We can walk our road together if our goals are all the same;     -=-
-=- We can run alone and free if we pursue a different aim.          -=-