Re: TCP zero-copy

From: Andrew Theurer (andrewt@austin.rr.com)
Date: Fri Aug 03 2001 - 10:28:53 EST


On Friday 03 August 2001 04:23, wrote:
> I believe this behaviour is only possible for cards which have the
> ability to dma what appears as a list of skb data fragments and
> also has the ability to checksum the data. Namely the Alteon, now
> 3com, ACENIC and the sun hme device.

Intel now has an e1000 driver as well.

> Does this kernel modification completely remove the need for a
> copy/checksum of the data between user and kernel space on both
> transmit and receive ?

Transmit for sure. You should no longer see csum_partial_copy_generic() when
using zerocopy.

> I have written a driver for an Intel ixf1002 chip, which has some
> surrounding HW, and is capable of checksumming and processing
> dma in fragments. Is there any information on what changes I
> would have to make to the driver to support zerocopy/checksum ?

Which card is this?

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



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:27 EST