From owner-freebsd-net@FreeBSD.ORG Fri Apr 7 01:58:43 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF7DB16A406 for ; Fri, 7 Apr 2006 01:58:43 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3596C43D45 for ; Fri, 7 Apr 2006 01:58:43 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (rmlkyawrdu899aew@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k371wfgk066963; Thu, 6 Apr 2006 18:58:41 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k371wf1h066962; Thu, 6 Apr 2006 18:58:41 -0700 (PDT) (envelope-from jmg) Date: Thu, 6 Apr 2006 18:58:41 -0700 From: John-Mark Gurney To: Jack Vogel Message-ID: <20060407015841.GV53811@funkthat.com> Mail-Followup-To: Jack Vogel , Julian Elischer , freebsd-net References: <2a41acea0604061648g83646aeme8792b6cf27f61b5@mail.gmail.com> <20060407002647.GT53811@funkthat.com> <4435B36B.4080608@elischer.org> <2a41acea0604061810l7ea13bbch50397a6d33bcd906@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a41acea0604061810l7ea13bbch50397a6d33bcd906@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-net , Julian Elischer Subject: Re: using uipc_jumbo.c X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 01:58:44 -0000 Jack Vogel wrote this message on Thu, Apr 06, 2006 at 18:10 -0700: > On 4/6/06, Julian Elischer wrote: > > John-Mark Gurney wrote: > > > > >Jack Vogel wrote this message on Thu, Apr 06, 2006 at 16:48 -0700: > > > > > > > > >>At the moment I am making Packet Split work for the em driver, but > > >>in a quick look around I cant see how the uipc_jumbo code gets > > >>compiled. I realize its been wedded to the ti driver, but I want to > > >>build and link against the kernel code without that driver. > > >> > > >>Anyone who understands all the inner workings of the build system > > >>want to give me a quick answer on the best way to do this? I mean > > >>I could probably heavy-handedly whack the Makefile, but I want > > >>the way to do it that would be 'correct' :) > > >> > > >> > > > > > >uipc_jumbo has been retired.. you should use the mbuf jumbo api > > >instead... You just need to provide MJUMPAGESIZE, MJUM9BYTES, or > > >MJUM16BYTES to m_getjcl to get the buffer... It appears that it > > >hasn't been documented in the mbuf(9) manpage yet though.. > > > > > > > > though as you are probably trying to make a driver that runs on older > > kernels too, > > that's probably not great news. > > define 'older' :) > > I am using 6.x for this, no requirements that it run on earlier, > does that have this, or is this CURRENT only? nope, it looks like the m_getjcl was merged into RELENG_6, it wasn't in 6.0-R, but will be in 6.1-R... Since mbuf.h is where m_getjcl is declared, I just checked: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/mbuf.h -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."