netdev
[Top] [All Lists]

Re: network interface cards native vlans support in linux kernel?

To: Rask Ingemann Lambertsen <rask@xxxxxxxxxx>
Subject: Re: network interface cards native vlans support in linux kernel?
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Wed, 22 Oct 2003 10:01:49 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20031022140624.A9145@xxxxxxxxxxxxxxxx>
Organization: Candela Technologies
References: <Pine.LNX.4.44.0307091816280.1313-100000@xxxxxxxxxxxxxx> <20030709152814.GC15293@xxxxxxx> <20031022140624.A9145@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827
Rask Ingemann Lambertsen wrote:
On Wed, Jul 09, 2003 at 11:28:15AM -0400, Jeff Garzik wrote:

On Wed, Jul 09, 2003 at 06:19:51PM +0300, Andrius Kasparavicius wrote:

hello, as far as i know, currently there is no native vlan support in
network device drivers. I mean, always need patching MTU.. add 4 bytes..

is there any problems to include full vlans support?

Native VLAN support has been in the kernel for a while.

A few drivers still need patching, and unfortunately the VLAN driver
patches floating around all need cleaning up.


What does a driver need to do to make sure it can handle vlan frames? Is it
enought to be prepared to handle frames of size dev->mtu+4? How do I know 4
bytes will be enough tomorrow when someone introduces VLAN2 with a 64-bit tag?
Checking for CONFIG_VLAN is of no use, right?

It needs to be able to handle 1518 bytes (+crc), send and receive.  I'd
suggest using the Intel e100 or e1000, as they both support VLANs just fine.
Most other GigE nics work too.

Apply the patches in the VLAN howto if you need another NIC that needs
patching.  There seems to be zero motivation by 100bt driver authors to
add VLAN support to the drivers that still need it...

Thanks,
Ben


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com



<Prev in Thread] Current Thread [Next in Thread>