using uipc_jumbo.c
John-Mark Gurney
gurney_j at resnet.uoregon.edu
Fri Apr 7 01:58:44 UTC 2006
Jack Vogel wrote this message on Thu, Apr 06, 2006 at 18:10 -0700:
> On 4/6/06, Julian Elischer <julian at 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."
More information about the freebsd-net
mailing list