summaryrefslogtreecommitdiff
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-08-08 01:29:05 (GMT)
committerDavid S. Miller <davem@davemloft.net>2007-08-08 01:29:05 (GMT)
commitf34d1955dff5a5769d24614d137003f0316406f3 (patch)
tree4787a616396aa8ea32bdb262043e7b784861cbeb /lib/percpu_counter.c
parent591e620693e71e24fb3450a4084217e44b7a60b6 (diff)
downloadlinux-fsl-qoriq-f34d1955dff5a5769d24614d137003f0316406f3.tar.xz
[TCP]: H-TCP maxRTT estimation at startup
Small patch to H-TCP from Douglas Leith. Fix estimation of maxRTT. The original code ignores rtt measurements during slow start (via the check tp->snd_ssthresh < 0xFFFF) yet this is probably a good time to try to estimate max rtt as delayed acking is disabled and slow start will only exit on a loss which presumably corresponds to a maxrtt measurement. Second, the original code (via the check htcp_ccount(ca) > 3) ignores rtt data during what it estimates to be the first 3 round-trip times. This seems like an unnecessary check now that the RCV timestamp are no longer used for rtt estimation. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions