Rx: Do not compute RTT on non-last packets of a jumbogram
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 16 Oct 2010 17:14:03 +0000 (13:14 -0400)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2010 17:19:09 +0000 (10:19 -0700)
commit525ea8b60cc198f7e12da7a1aaffdcad2bb3ef21
tree285d81f97aeabae0ff89278061eb71b6a87d98cb
parent4e71409fe1305cde4b9b341247ba658d8d24f4d0
Rx: Do not compute RTT on non-last packets of a jumbogram

A jumbogram is constructed as a series of rx packets that are
all sent at once and acknowledged at the same time.  Computing the
RTT for all of the packets that makes up the jumbogram provides
the jumbogram RTT more weight than for a non-jumbogram packet.
To restore fairness, only compute the RTT for the last packet of
a jumbogram.  The non-last packets with have the RX_JUMBO_PACKET flag
set in the packet header.

Change-Id: Ia5237d9ca0707b39fe623639233b748b6798063e
Reviewed-on: http://gerrit.openafs.org/2997
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c