From owner-cvs-all Fri Nov 15 11:30:36 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F9FE37B401; Fri, 15 Nov 2002 11:30:35 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FEAA43E3B; Fri, 15 Nov 2002 11:30:34 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id OAA28532; Fri, 15 Nov 2002 14:30:34 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id gAFJU4a54936; Fri, 15 Nov 2002 14:30:04 -0500 (EST) (envelope-from gallatin@cs.duke.edu) Date: Fri, 15 Nov 2002 14:30:04 -0500 From: Andrew Gallatin To: Sam Leffler Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/an if_an.c if_an_isa.c if_an_pccard.c if_an_pci.c src/sys/dev/ar if_ar.c src/sys/dev/awi awi.c if_awi_pccard.c src/sys/dev/bge if_bge.c if_bgereg.h src/sys/dev/cm smc90cx6.c src/sys/dev/cnw if_cnw.c src/sys/dev/cs ... Message-ID: <20021115143004.A54902@grasshopper.cs.duke.edu> References: <200211142354.gAENstXE004776@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200211142354.gAENstXE004776@repoman.freebsd.org>; from sam@FreeBSD.org on Thu, Nov 14, 2002 at 03:54:55PM -0800 X-Operating-System: FreeBSD 4.4-RELEASE on an i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sam Leffler [sam@FreeBSD.org] wrote: > > o don't strip the Ethernet header from inbound packets; pass packets > up the stack intact (required significant changes to some drivers) > o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) > o track ether_ifattach/ether_ifdetach API changes > o track bpf changes (use BPF_TAP and BPF_MTAP) > o track vlan changes (ifnet capabilities, revised processing scheme, etc.) > o use if_input to pass packets "up" > o call ether_ioctl for default handling of ioctls > Go, Sam, Go! Do you anticipate making any other major network driver interface changes in the near future? If so, it would be best if you could make them sooner rather than later. FWIW, 3rd party driver developers appreciate having a stable network driver ABI. On -stable, a module built on 4.1.1 will load and run correctly on all kernels through 4.7-RELEASE. I'd like to see us maintain a similar ABI consistancy through the 5.x series for NIC drivers, if at all possible. Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message