Re: What needs to be done in ethernet driver for VLAN support

Alex Zeffertt <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Organization Cambridge Broadband Ltd.
Message-ID <[email protected]>
On Tue, 11 Oct 2005 05:46:42 +0100 (BST)
Mahadev Cholachagudda <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.