Re: zero-copy TCP fileserving

Ralf Baechle (ralf@uni-koblenz.de)
Sat, 5 Jun 1999 11:52:43 +0200


On Fri, Jun 04, 1999 at 07:17:47PM +0200, Jamie Lokier wrote:

> Alan Cox wrote:
> > Fundamentally. skbuffs are single physically linear blocks, BSD mbufs are
> > chains of small blocks. The BSD code nowdays makes heavy use of "mbuf
> > clusters" to effectively get linear buffers most of the time.
> >
> > Having chains means you keep having to say 'is the rest of this structure
> > in this buffer' and 'copy this around a bit to make the structure in one
> > buffer'.
>
> So all this talk of zero-copy file serving, scatter gather DMA and so on
> would require some kind of mbuf abstraction?

There are several cards which can deal with sending a packet split
in two buffers.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/