netdev
[Top] [All Lists]

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

To: netdev@xxxxxxxxxxx
Subject: Re: network interface cards native vlans support in linux kernel?
From: Rask Ingemann Lambertsen <rask@xxxxxxxxxx>
Date: Wed, 22 Oct 2003 14:06:25 +0200
In-reply-to: <20030709152814.GC15293@gtf.org>; from jgarzik@pobox.com on Wed, Jul 09, 2003 at 11:28:15AM -0400
References: <Pine.LNX.4.44.0307091816280.1313-100000@hl.kauneta.net> <20030709152814.GC15293@gtf.org>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
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?

-- 
Regards,
Rask Ingemann Lambertsen

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