Re: TCP Checksum offload in 2.4.19

From: David S. Miller (davem@redhat.com)
Date: Thu Sep 05 2002 - 22:16:34 EST


   From: Manish Lachwani <m_lachwani@yahoo.com>
   Date: Thu, 5 Sep 2002 09:18:31 -0700 (PDT)

   Instead of making changes to my application to use
   sendfile(..), is it possible for me to enable zerocopy
   in 2.4.19 kernel (using a patch or something) so that
   tx checksum can be offloaded to the h/w for every TCP
   packet?

There is no benefit, as we have to copy the data from
userspace into a kernel buffer anyways. The checksum
can be computed for free in parallel with the copy.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:01 EST