Print this page
11553 Want pluggable TCP congestion control algorithms
Portions contributed by: Cody Peter Mello <cody.mello@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
 #
 #       This makefile drives the production of the ip driver
 #       kernel module.
 #
 #       intel implementation architecture dependent

@@ -51,11 +51,11 @@
 include $(UTSBASE)/intel/Makefile.intel
 
 #
 #       Define targets
 #
-ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
+ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
 LINT_TARGET     = $(MODULE).lint
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
 
 CINLINEFLAGS = -xinline=tcp_set_ws_value
 

@@ -89,10 +89,16 @@
 # kCF subsystem can load swrand.
 #
 LDFLAGS         += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
 
 #
+# Depends on the congestion control framework for TCP connections.
+# We make several different algorithms available by default.
+#
+LDFLAGS         += -N misc/cc -N cc/cc_sunreno -N cc/cc_newreno -N cc/cc_cubic
+
+#
 # For now, disable these lint checks; maintainers should endeavor
 # to investigate and remove these for maximum lint coverage.
 # Please do not carry these forward to new Makefiles.
 #
 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON