summaryrefslogtreecommitdiffstats
path: root/sys/modules/cc
diff options
context:
space:
mode:
authorlstewart <lstewart@FreeBSD.org>2010-12-02 06:05:44 +0000
committerlstewart <lstewart@FreeBSD.org>2010-12-02 06:05:44 +0000
commit6e097be88ac502e789f7458d7a175c16838e09b9 (patch)
tree6aa2dc9996e58bb4a100216ee50308571b0f2220 /sys/modules/cc
parentee62ec76ff365c8e08de24cfa1eaa3a45fcfafa5 (diff)
downloadFreeBSD-src-6e097be88ac502e789f7458d7a175c16838e09b9.zip
FreeBSD-src-6e097be88ac502e789f7458d7a175c16838e09b9.tar.gz
Import a clean-room implementation of the experimental CUBIC congestion control
algorithm based on the Internet-Draft "draft-rhee-tcpm-cubic-02.txt". It is implemented as a kernel module compatible with the recently committed modular congestion control framework. CUBIC was designed for provide increased throughput in fast and long-distance networks. It attempts to maintain fairness when competing with legacy NewReno TCP in lower speed scenarios where NewReno is able to operate adequately. The paper "CUBIC: A New TCP-Friendly High-Speed TCP Variant" provides additional detail. In collaboration with: David Hayes <dahayes at swin edu au> and Grenville Armitage <garmitage at swin edu au> Sponsored by: FreeBSD Foundation Reviewed by: rpaulo (older patch from a few weeks ago) MFC after: 3 months
Diffstat (limited to 'sys/modules/cc')
-rw-r--r--sys/modules/cc/Makefile2
-rw-r--r--sys/modules/cc/cc_cubic/Makefile9
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/cc/Makefile b/sys/modules/cc/Makefile
index 4dfb082..94a72a0 100644
--- a/sys/modules/cc/Makefile
+++ b/sys/modules/cc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR=
+SUBDIR= cc_cubic
.include <bsd.subdir.mk>
diff --git a/sys/modules/cc/cc_cubic/Makefile b/sys/modules/cc/cc_cubic/Makefile
new file mode 100644
index 0000000..8ffece2
--- /dev/null
+++ b/sys/modules/cc/cc_cubic/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+.PATH: ${.CURDIR}/../../../netinet/cc
+KMOD= cc_cubic
+SRCS= cc_cubic.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud