Date: Sat, 28 May 2011 04:40:35 +0000 (UTC) From: Lawrence Stewart <lstewart@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/conf files src/sys/netinet cc.h tcp_input.c tcp_output.c tcp_sack.c tcp_subr.c tcp_timer.c tcp_usrreq.c tcp_var.h src/sys/netinet/cc cc.c cc_module.h cc_newreno.c src/sys/sys param.h Message-ID: <201105280441.p4S4f28O086793@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lstewart 2011-05-28 04:40:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/conf files sys/netinet tcp_input.c tcp_output.c tcp_sack.c tcp_subr.c tcp_timer.c tcp_usrreq.c tcp_var.h sys/sys param.h Added files: (Branch: RELENG_8) sys/netinet cc.h sys/netinet/cc cc.c cc_module.h cc_newreno.c Log: SVN rev 222401 on 2011-05-28 04:40:35Z by lstewart MFC r215166,215377,215391,215392,215393,215395,216101,216103,216105,216107, 216749,216760,217748,218167: - Add a KPI and supporting infrastructure to allow modular congestion control algorithms to be used in the net stack. Algorithms can maintain per-connection state if required, and connections maintain their own algorithm pointer, which allows different connections to concurrently use different algorithms. The TCP_CONGESTION socket option can be used with getsockopt()/setsockopt() to programmatically query or change the congestion control algorithm respectively from within an application at runtime. - Integrate the framework with the TCP stack in as least intrusive a manner as possible. Care was also taken to develop the framework in a way that should allow integration with other congestion aware transport protocols (e.g. SCTP) in the future. The hope is that we will one day be able to share a single set of congestion control algorithm modules between all congestion aware transport protocols. - Introduce a new congestion recovery (TF_CONGRECOVERY) state into the TCP stack and use it to decouple the meaning of recovery from a congestion event and recovery from packet loss (TF_FASTRECOVERY) a la RFC2581. ECN and delay based congestion control protocols don't generally need to recover from packet loss and need a different way to note a congestion recovery episode within the stack. - Remove the net.inet.tcp.newreno sysctl, which simplifies some portions of code and ensures the stack always uses the appropriate mechanisms for recovering from packet loss during a congestion recovery episode. - Extract the NewReno congestion control algorithm from the TCP stack and massage it into module form. NewReno is always built into the kernel and will remain the default algorithm for the forseeable future. Implementations of additional different algorithms will become available in the near future. - Tweak the MFCed code to preserve the ABI of the 8-STABLE branch with respect to "struct tcpcb" by consuming some of the padding within the struct. - Bump __FreeBSD_version to 802504. In collaboration with: David Hayes <dahayes at swin edu au> and Grenville Armitage <garmitage at swin edu au> Sponsored by: Cisco URP, FreeBSD Foundation Reviewed by: rpaulo (r215166), bz (r215391,215395,216749,217748) Tested by: David Hayes (r215166), trociny (r215377,215391,215392,215395) Revision Changes Path 1.1459.2.59 +2 -0 src/sys/conf/files 1.5.2.2 +166 -0 src/sys/netinet/cc.h (new) 1.8.2.2 +325 -0 src/sys/netinet/cc/cc.c (new) 1.2.2.2 +70 -0 src/sys/netinet/cc/cc_module.h (new) 1.5.2.2 +236 -0 src/sys/netinet/cc/cc_newreno.c (new) 1.411.2.12 +256 -238 src/sys/netinet/tcp_input.c 1.164.2.9 +19 -40 src/sys/netinet/tcp_output.c 1.53.2.3 +1 -1 src/sys/netinet/tcp_sack.c 1.350.2.14 +92 -2 src/sys/netinet/tcp_subr.c 1.112.2.4 +11 -38 src/sys/netinet/tcp_timer.c 1.192.2.7 +61 -1 src/sys/netinet/tcp_usrreq.c 1.182.2.12 +26 -6 src/sys/netinet/tcp_var.h 1.433.2.16 +1 -1 src/sys/sys/param.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105280441.p4S4f28O086793>