lkml.org 
[lkml]   [2011]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to disable TCP checksum calculation?
From
Date
Le samedi 07 mai 2011 à 08:28 +0100, Alexander Clouter a écrit :


> Wu, Xia <xia.wu@intel.com> wrote:
> >
> > I'm studying TCP transporting efficiency. Now I want to disable TCP
> > checksum calculation, but I cannot find the right way to disable it.
> > Who can give me a help on how to disable TCP checksum on Linux?
> >
> Look at using TCP checksum offloading to see the effects:
>
> http://en.wikipedia.org/wiki/TCP_Offload_Engine
>
> ----
> berk:/home/alex# ethtool -k eth0
> Offload parameters for eth0:
...


Not sure what We meant here. TCP standard requires checksums to be set,
you cannot 'disable it'. Only possible thing in linux stack is to
offload tcp checksum computation to network card, if hardware permits
it.

By the way, the loopback interface (lo) pretends to support this
feature, so we dont compute tcp checksums for loopback.



--
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/

\
 
 \ /
  Last update: 2011-05-07 15:41    [W:0.033 / U:1.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site