From owner-freebsd-net@FreeBSD.ORG Fri Apr 7 00:26:51 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 6465016A403 for ; Fri, 7 Apr 2006 00:26:51 +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 012FB43D53 for ; Fri, 7 Apr 2006 00:26:48 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (f86u1q0509l3f0yd@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k370QmZM064939; Thu, 6 Apr 2006 17:26:48 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k370QmSL064938; Thu, 6 Apr 2006 17:26:48 -0700 (PDT) (envelope-from jmg) Date: Thu, 6 Apr 2006 17:26:48 -0700 From: John-Mark Gurney To: Jack Vogel Message-ID: <20060407002647.GT53811@funkthat.com> Mail-Followup-To: Jack Vogel , freebsd-net References: <2a41acea0604061648g83646aeme8792b6cf27f61b5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a41acea0604061648g83646aeme8792b6cf27f61b5@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 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 00:26:51 -0000 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.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."