Date: Sun, 22 Jul 2001 14:25:57 +0400 (MSD) From: "Vladimir B. Grebenschikov" <vova@express.ru> To: "C. Stephen Gunn" <csg@waterspout.com> Cc: Brooks Davis <brooks@one-eyed-alien.net>, net@FreeBSD.ORG Subject: Re: sysctl net.link.vlan.link.proto Message-ID: <15194.43573.236252.134077@vbook.express.ru> In-Reply-To: <20010719085727.A41774@progeny.com> References: <20010713171342.A18472@Odin.AC.HMC.Edu> <20010719085727.A41774@progeny.com>
next in thread | previous in thread | raw e-mail | index | archive | help
C. Stephen Gunn writes: > > 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. ;-) May be most right way to handle VLANs is netgraph mechanism ? I've dig a bit into code and found that to get such mechanism working it need to add ng_iface node hook to inject not demuxed frames. And fix a bit code related to ARP. > - Steve -- TSB Russian Express, Moscow Vladimir B. Grebenschikov, vova@express.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15194.43573.236252.134077>