From nobody Sun Aug 30 22:12:43 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hY5wC6Ky6z6qH7b for ; Sun, 30 Aug 2026 22:12:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hY5wC3dzmz3TvY for ; Sun, 30 Aug 2026 22:12:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788127963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HyK74ENgcwpF73XnY+2LyWDY48xFm7x66C9/GLtY6Ys=; b=X4j0IutuAQgv/84hSFe3QwjHzYiQJ+a+1dLU/Fyj8XqYfUgiA/3hz7QT+UZEuzKr4EEdRa ORgOlq0d7Q01Oab9jW6v8FnC4DzCdSZei3gtINfB0Vr51vyg/iZHVMFCU4zEnj0gQplzW5 gxcFF2r6WW36/xCdcCwVwW4vkoqRY6ywUnnHY2LkV+zTlC57oJgxhQpXVl4ku27BGNH5/X sZNzbvoHg5tdA3aDwLilJF6WfBKFhzdYo23T4JTDAQtq+0mezN9ChJpAvLvNKesALYYPa+ JFz1BMXMC2Xqe5KkWrdsFB3sFs4m+7PIYdTW6qeGv7u2y8ihIkpNF7IOXE3JMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788127963; a=rsa-sha256; cv=none; b=c+a9D3CRG+eB9m0PQpyPUABOi1Uf3g3JpHHXnz3qR11dpMPCV1+amYzEcxTTrjnXjRablD qPNuvyQv/6XTO+zhv9J6hhtd7ng5a4Us3fG22mOnkzNy21MJjIfRV3EcRNhD1O9tpfrq1W vtxznieccK/90RxUUTQvbxJvc+sR4SPxhNg77JO0vZ2hgzV7dleXPFOTQVYX07Q2lveCLk OcIp4xSMytMKVTqpPSC31aLqzaiuhzpxfIXR8avWTtvoIjIFy345GQUD4pdS24aSlUoPWW FmZWBhTDpY8tqKcfsTFV0eDhUNYsLxxpHENGcuq4GvrESAJvQNim54sc+MsFIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788127963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HyK74ENgcwpF73XnY+2LyWDY48xFm7x66C9/GLtY6Ys=; b=uhpPCF7QPK5MejkXr9hUpLPQb/Pvo3/LJiAO80EPfIvDRFi7wcN7QaHkqkNJ373a9/iTke zj7juo1dpta5ZtqA8YWg7nV7kHZXsGRHc+fBRcIRtXk2BIoD9thpu27cM2VC/SslyDuVJK hJo8T5HiSgUgbfYvv4hO0K/suh29BFK8eL+nXBjx9Je3IMvEn1U+P6WsEtJUExF1hmgB+L DzgUMVBE8MeyE2FmOzonhhtLFTgDVkcj4s7LOFG6qRr1SVCxCiyj8JxjpeZjeOJGC3F+1a 1CjKfXbjBVIGCgo+5YBC3+45zUfvra3zFh8NTsCXXbBzf2j/+vkN/RA3TR7x1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hY5wC2Ts4zlY9 for ; Sun, 30 Aug 2026 22:12:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 24853 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 30 Aug 2026 22:12:43 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 8ee0a615cb23 - main - nfsclient: Add a new nfs_client_rdma_enable variable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8ee0a615cb23badfcbeae4f008706caab1aa67be Auto-Submitted: auto-generated Date: Sun, 30 Aug 2026 22:12:43 +0000 Message-Id: <6a94aadb.24853.3817e9fa@gitrepo.freebsd.org> The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=8ee0a615cb23badfcbeae4f008706caab1aa67be commit 8ee0a615cb23badfcbeae4f008706caab1aa67be Author: Rick Macklem AuthorDate: 2026-08-30 22:11:08 +0000 Commit: Rick Macklem CommitDate: 2026-08-30 22:11:08 +0000 nfsclient: Add a new nfs_client_rdma_enable variable This patch adds a new nfs_client_rdma_enable variable to /etc/rc.d/nfsclient to enable the client side of NFS over RDMA. The client side of NFS over RDMA requires the nfsclrdma.ko module, which is still under test/review. I wanted to get the "glue" into main so that others could test the module more easily. Avaliability of the module will be announced on freebsd-current@ soon. It should not affect non-RDMA operation. I've specified a long MFC, since the module still requires extensive testing and, hopefully, a review. MFC after: 3 months --- libexec/rc/rc.conf | 1 + libexec/rc/rc.d/nfsclient | 3 +++ 2 files changed, 4 insertions(+) diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index 41820cd26330..12da003978e8 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -384,6 +384,7 @@ automount_flags="" # Flags to automount(8) (if autofs enabled). automountd_flags="" # Flags to automountd(8) (if autofs enabled). autounmountd_flags="" # Flags to autounmountd(8) (if autofs enabled). nfs_client_enable="NO" # This host is an NFS client (or NO). +nfs_client_rdma_enable="NO" # Enable host for NFS over RDMA mounts. nfs_access_cache="60" # Client cache timeout in seconds nfs_server_enable="NO" # This host is an NFS server (or NO). nfs_server_flags="-u -t" # Flags to nfsd (if enabled). diff --git a/libexec/rc/rc.d/nfsclient b/libexec/rc/rc.d/nfsclient index 857cfa02036f..9dbaf4e58cb1 100755 --- a/libexec/rc/rc.d/nfsclient +++ b/libexec/rc/rc.d/nfsclient @@ -32,6 +32,9 @@ nfsclient_start() warn "failed to set vfs.nfs.bufpackets" fi fi + if checkyesno nfs_client_rdma_enable; then + load_kld nfsclrdma || err 1 "Cannot load nfsclrdma" + fi unmount_all }