Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 18:58:41 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>, Julian Elischer <julian@elischer.org>
Subject:   Re: using uipc_jumbo.c
Message-ID:  <20060407015841.GV53811@funkthat.com>
In-Reply-To: <2a41acea0604061810l7ea13bbch50397a6d33bcd906@mail.gmail.com>
References:  <2a41acea0604061648g83646aeme8792b6cf27f61b5@mail.gmail.com> <20060407002647.GT53811@funkthat.com> <4435B36B.4080608@elischer.org> <2a41acea0604061810l7ea13bbch50397a6d33bcd906@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jack Vogel wrote this message on Thu, Apr 06, 2006 at 18:10 -0700:
> On 4/6/06, Julian Elischer <julian@elischer.org> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060407015841.GV53811>