On Tue, 11 Oct 2005 05:46:42 +0100 (BST) Mahadev Cholachagudda <mahadev_kc@xxxxxxxxx> wrote: > Hi, > > I'm writing a network device driver for an ethernet > MAC with external PHY. My ethernet MAC supports the > 802.1Q standard. > > I would like to know what needs to be done in the > network driver level to support VLAN or 802.1Q. > > Also, please point me to some links that can give more > information on VLAN, how to setup in Linux > environment. The e100 driver in the kernel does vlan hwaccel. You could look at that. Alternatively, as long as you can send and receive 1522 byte frames you could use the normal (non h/w acceleration) mode. This is a very straightforward mod to any ethernet driver - see for example the patches on the linux 802.1q vlan website. Regards, Alex