From owner-freebsd-net Wed Jun 21 8:58:16 2000 Delivered-To: freebsd-net@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 44FFE37BEE6 for ; Wed, 21 Jun 2000 08:58:09 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id IAA86149; Wed, 21 Jun 2000 08:55:32 -0700 (PDT) From: Archie Cobbs Message-Id: <200006211555.IAA86149@bubba.whistle.com> Subject: Re: bridge + VLAN + netgraph In-Reply-To: <200006210438.GAA04059@info.iet.unipi.it> from Luigi Rizzo at "Jun 21, 2000 06:38:45 am" To: luigi@info.iet.unipi.it (Luigi Rizzo) Date: Wed, 21 Jun 2000 08:55:32 -0700 (PDT) Cc: csg@waterspout.com (C. Stephen Gunn), julian@elischer.org (Julian Elischer), aljtarik@cholla.inrs-telecom.uquebec.ca (Tarik Alj), archie@whistle.com, gregoire@cholla.inrs-telecom.uquebec.ca, vitaly@riss-telecom.ru (Vitaly V. Belekhov), net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo writes: > > We could then modify ether_input() to take the full mbuf, including > > the headers (like NetBSD). Drivers that want/need to optimize > > I already suggested that, but no luck :( I think this is a good idea too.. I didn't include it in the patch a couple of weeks ago to avoid changing too many things at once; this change is orthogonal from the BPF extraction stuff. After all, you'd think a function named "ether_input" would take an Ethernet frame as input.. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message