Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 21:45:09 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Don Bowman <don@sandvine.com>
Cc:        "'Andrew Gallatin'" <gallatin@cs.duke.edu>, current@FreeBSD.org, net@FreeBSD.org
Subject:   Re: new zero copy sockets patches available
Message-ID:  <20020518214509.C46216@panzer.kdm.org>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337676208@mail.sandvine.com>; from don@sandvine.com on Sat, May 18, 2002 at 01:15:43PM -0400
References:  <FE045D4D9F7AED4CBFF1B3B813C85337676208@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 18, 2002 at 13:15:43 -0400, Don Bowman wrote:
> > Andrew Gallatin writes:
> >> Kenneth D. Merry writes:
> >>  > 
> >>  > I have released a new set of zero copy sockets patches, against
> -current
> >>  > from today (May 17th, 2002).
> > 
> > Hi Ken,
> > 
> > I'm glad to see that you're still maintining this!
> > 
> > Assuming the mutex issues get sorted out, what do you think the odds
> > are of getting this into the tree?  The only possible issue I see is
> > with the tigon firmware.   Is the firmware you're using of the same
> > vintage as what's in the tree now?  Does it contain all the same
> > fixes?
> 
> As a related question, will this work with the broadcom gigabit (bge)
> driver, which is the Tigon III? If not, what would it take to get
> it working?

Unfortunately, it won't work with the Tigon III.

If you can get firmware source for the Tigon III, I can probably get header
splitting working.  (The only way it wouldn't work is if they've offloaded
most of the packet processing into the hardware.)

The send side code will work on any NIC, and you can kludge up special case
header splitting on the receive side if the NIC allows you to break jumbo
frames into multiple chunks of data.  (This is what Drew originally did for
the Tigon II -- you just size the initial chunk of data so that it'll just
hold the ethernet header, IP header, TCP header and TCP options, and the
payload will "magically" end up page aligned.  This doesn't work for
protocols other than TCP, and it won't work if your TCP header changes in
length.)

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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