Re: TCP Checksum offload in 2.4.19

From: Manish Lachwani (m_lachwani@yahoo.com)
Date: Thu Sep 05 2002 - 11:18:31 EST


Thanks for the response.

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?

Thanks
Manish

--- "David S. Miller" <davem@redhat.com> wrote:
> From: Manish Lachwani <m_lachwani@yahoo.com>
> Date: Wed, 4 Sep 2002 07:34:57 -0700 (PDT)
>
> I am trying to implement the TCP checksum offload
> support using Intel e1000/3com 3c996b-t in Linux
> 2.4.19. Does this version of the kernel support
> transmit h/w checksum offloading? Is there any
> patch I
> need to apply to the driver or kernel to get this
> feature to work?
>
> It's already supported for e1000 cards.
>
> Perhaps you are using only normal send/sendmsg/write
> system calls to send data over sockets, in that case
> TX checksum offload isn't used (there is no gain).
>
> It starts getting used once you start using
> sendfile()
> to transmit your data.
> -
> 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

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-
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