From owner-freebsd-net Fri Feb 23 1:52:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from euitt.upm.es (haddock.euitt.upm.es [138.100.52.102]) by hub.freebsd.org (Postfix) with ESMTP id 2D97537B491 for ; Fri, 23 Feb 2001 01:52:28 -0800 (PST) (envelope-from pjlobo@euitt.upm.es) Received: from odin.euitt.upm.es (odin.euitt.upm.es [138.100.52.111]) by euitt.upm.es (8.9.3/8.9.3) with ESMTP id KAA00791; Fri, 23 Feb 2001 10:52:17 +0100 (MET) Date: Fri, 23 Feb 2001 10:52:17 +0100 (CET) From: "Pedro J. Lobo" To: Peter Jeremy Cc: Subject: Re: 802.1q vlans and STABLE In-Reply-To: <20010223152257.K36182@gsmx07.alcatel.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 23 Feb 2001, Peter Jeremy wrote: > >http://www.euitt.upm.es/~pjlobo/fbsdvlan.html > > That's where I got my code last August. I haven't looked to see what > has changed since then. I know I have patches for: > - set the "Long Receive OK" bit in the i82559 (fxp) [rather than > rummage through "error packets"] This is now in the vlan patches. > - VLAN support in driver modules for the above drivers Including fxp? My code only supports vlan in modules for the 558 and 559 controllers, not for the old 557. > - fix VLAN handling in arp(8) Can you ellaborate a bit more on this one? > - support VLANs in tcpdump(8) [this may be in the generic tree by now] It's been for quite some time. I used it when doing my first version of the patches on a 3.2-stable system. > > Also, do I have any > >performance hits if I have too many vlans ? > > On incoming 802.1Q packets, there's a linear search through a list of > known VLAN numbers to determine the destination vlan device. Unless > you're planning on lots of VLAN's, this probably isn't an issue. That makes sense. A linear search through 10 or 20 elements doesn't seem like a performance killer. And, provided that most switches won't support more than 16 or 32 vlans, it is very unusual to have more than that. -- Pedro José Lobo Perea Tel: +34 913367819 / Fax: +34 913319229 Centro de Cálculo e-mail: pjlobo@euitt.upm.es E.U.I.T. Telecomunicación Universidad Politécnica de Madrid Ctra. de Valencia, Km. 7 E-28031 Madrid - España / Spain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message