Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2023 17:23:26 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f90306501856 - main - hpts: install kernel module
Message-ID:  <202311211723.3ALHNQ7n027436@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius:

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

commit f9030650185622d7cf8a7c81c4b3a3763539de24
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-11-21 17:22:46 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311211723.3ALHNQ7n027436>