Subject: CVS commit: src/sys/netinet
To: None <source-changes@netbsd.org>
From: Anders Magnusson <ragge@netbsd.org>
List: source-changes
Date: 06/29/2003 18:58:29
Module Name:	src
Committed By:	ragge
Date:		Sun Jun 29 18:58:29 UTC 2003

Modified Files:
	src/sys/netinet: tcp_input.c tcp_output.c tcp_subr.c tcp_var.h

Log Message:
Add code to remember where in the send queue of mbufs the last packet was
sent from. This change avoid a linear search through all mbufs when using
large TCP windows, and therefore permit high-speed connections on long
distances.

Tested on a 1 Gigabit connection between Luleå and San Francisco, a distance
of about 15000km.  With TCP windows of just over 20 Mbytes it could keep up
with 950Mbit/s.

After discussions with Matt Thomas and Jason Thorpe.


To generate a diff of this commit:
cvs rdiff -r1.169 -r1.170 src/sys/netinet/tcp_input.c
cvs rdiff -r1.91 -r1.92 src/sys/netinet/tcp_output.c
cvs rdiff -r1.140 -r1.141 src/sys/netinet/tcp_subr.c
cvs rdiff -r1.100 -r1.101 src/sys/netinet/tcp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.