Re: Why is TCP checksum calc split between init & complete fns?

From: kuznet@ms2.inr.ac.ru
Date: Tue Aug 22 2000 - 12:01:24 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 21:00:07 EST