aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2023-11-21 17:22:46 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2023-11-21 17:22:46 +0000
commitf9030650185622d7cf8a7c81c4b3a3763539de24 (patch)
tree5a0a6a7bbf251cee600bab709b0f512a1eb68fe6
parent219a6ca919576c4f7e783720f66a458d51476f3d (diff)
downloadsrc-f9030650185622d7cf8a7c81c4b3a3763539de24.tar.gz
src-f9030650185622d7cf8a7c81c4b3a3763539de24.zip
hpts: install kernel module
It is important to instantly load tcp_rack.ko and tcp_bbr.ko Reviewed by: tuexen, imp Differential Revision: https://reviews.freebsd.org/D42697
-rw-r--r--sys/modules/tcp/Makefile6
-rw-r--r--sys/modules/tcp/hpts/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/modules/tcp/Makefile b/sys/modules/tcp/Makefile
index 364c0326c40d..3b6df4bc18e9 100644
--- a/sys/modules/tcp/Makefile
+++ b/sys/modules/tcp/Makefile
@@ -1,15 +1,13 @@
-#
-#
-
.include <kmod.opts.mk>
-SUBDIR= \
+SUBDIR= ${_hpts} \
${_tcp_bbr} \
${_tcp_rack} \
${_tcpmd5} \
.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
defined(ALL_MODULES)
+_hpts= hpts
_tcp_bbr= bbr
_tcp_rack= rack
.if ${KERN_OPTS:MIPSEC_SUPPORT} && !${KERN_OPTS:MTCP_SIGNATURE}
diff --git a/sys/modules/tcp/hpts/Makefile b/sys/modules/tcp/hpts/Makefile
new file mode 100644
index 000000000000..4ca462d7f612
--- /dev/null
+++ b/sys/modules/tcp/hpts/Makefile
@@ -0,0 +1,6 @@
+.PATH: ${SRCTOP}/sys/netinet
+
+KMOD= tcphpts
+SRCS= tcp_hpts.c opt_inet.h opt_inet6.h opt_rss.h device_if.h bus_if.h
+
+.include <bsd.kmod.mk>