From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rask Ingemann Lambertsen Subject: Re: network interface cards native vlans support in linux kernel? Date: Wed, 22 Oct 2003 14:06:25 +0200 Sender: netdev-bounce@oss.sgi.com Message-ID: <20031022140624.A9145@vip.cybercity.dk> References: <20030709152814.GC15293@gtf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: To: netdev@oss.sgi.com Content-Disposition: inline In-Reply-To: <20030709152814.GC15293@gtf.org>; from jgarzik@pobox.com on Wed, Jul 09, 2003 at 11:28:15AM -0400 Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org 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