The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f9030650185622d7cf8a7c81c4b3a3763539de24

commit f9030650185622d7cf8a7c81c4b3a3763539de24
Author:     Gleb Smirnoff <[email protected]>
AuthorDate: 2023-11-21 17:22:46 +0000
Commit:     Gleb Smirnoff <[email protected]>
CommitDate: 2023-11-21 17:22:46 +0000

    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
---
 sys/modules/tcp/Makefile      | 6 ++----
 sys/modules/tcp/hpts/Makefile | 6 ++++++
 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>

Reply via email to