Re: How to disable TCP checksum calculation?

From: Alexander Clouter
Date: Sat May 07 2011 - 04:08:31 EST


Wu, Xia <xia.wu@xxxxxxxxx> 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:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off
receive-hashing: on
----

Cheers

--
Alexander Clouter
.sigmonster says: Dental health is next to mental health.

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