[VLAN] What needs to be done in ethernet driver for VLAN support

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

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [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