lkml.org 
[lkml]   [2000]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Why is TCP checksum calc split between init & complete fns?
Date
Hello!

> OK, thanks. If anyone out there knows, I'd still like to find out
> why this is normally only done for TCP packets <= 68 bytes.

Because this length covers all pure ACK frames. Any number 60-68 would
be equally good. It was chenged to 76 recently to cover one cacheline though.

> Which function mods the head?

You looked into these functions, you know the answer.

> checks the rest of the packet. Why the split?

Because tcp_checsum_complete() is _not_ called for most of packets
during bulk transfer.

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

\
 
 \ /
  Last update: 2005-03-22 12:37    [from the cache]
©2003-2011 Jasper Spaans