From owner-freebsd-net Thu Jul 19 6:58:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from squall.waterspout.com (squall.waterspout.com [208.13.56.12]) by hub.freebsd.org (Postfix) with ESMTP id A946A37B401 for ; Thu, 19 Jul 2001 06:58:20 -0700 (PDT) (envelope-from csg@waterspout.com) Received: from dustdevil.waterspout.com (squall.waterspout.com [208.13.56.12]) by squall.waterspout.com (Postfix) with ESMTP id 7F4949B17 for ; Thu, 19 Jul 2001 08:57:58 -0500 (EST) Received: (from csg@localhost) by dustdevil.waterspout.com (8.11.4/8.11.2) id f6JDwlx41787; Thu, 19 Jul 2001 08:58:47 -0500 (EST) (envelope-from csg@waterspout.com) X-Authentication-Warning: dustdevil.waterspout.com: csg set sender to csg@waterspout.com using -f Date: Thu, 19 Jul 2001 08:57:27 -0500 From: "C. Stephen Gunn" To: Brooks Davis Cc: net@FreeBSD.ORG Subject: Re: sysctl net.link.vlan.link.proto Message-ID: <20010719085727.A41774@progeny.com> References: <20010713171342.A18472@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010713171342.A18472@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Fri, Jul 13, 2001 at 05:13:42PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jul 13, 2001 at 05:13:42PM -0700, Brooks Davis wrote: > I'm working on modernizing the vlan device (making it loadable, > unloadable, and clonable) and I've run into this sysctl. This shoud allow you to move the check for 802.1q packets down into the normal ether_demux() which classifies packets based on ethertype. The former code was a check right above the main switch statement in ether_demux() because it was a sysctl, not a constant. I have some other patches around that ease the interrupt-time requirements by scheduling a NETISR for vlan traffic. I wasn't ever sure if that was a true win, so I didn't contrib them. I could dig them up if you're really interested in spiffing up the VLAN code. ;-) - Steve -- C. Stephen Gunn | Waterspout Communications, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message