Re: git: 884ee8d6c9b4 - main - nfscl: Add some glue for client side NFS over RDMA

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Tue, 01 Sep 2026 16:27:56 UTC
  Rick,

On Sun, Aug 30, 2026 at 10:03:15PM +0000, Rick Macklem wrote:
R> The branch main has been updated by rmacklem:
R> 
R> URL: https://cgit.FreeBSD.org/src/commit/?id=884ee8d6c9b43b4c009f5eeda91162a0d0eb2bc7
R> 
R> commit 884ee8d6c9b43b4c009f5eeda91162a0d0eb2bc7
R> Author:     Rick Macklem <rmacklem@FreeBSD.org>
R> AuthorDate: 2026-08-30 22:00:27 +0000
R> Commit:     Rick Macklem <rmacklem@FreeBSD.org>
R> CommitDate: 2026-08-30 22:00:27 +0000
R> 
R>     nfscl: Add some glue for client side NFS over RDMA
R>     
R>     This patch adds assorted bits needed by the nfsclrdma.ko
R>     module that implements client side NFS over RDMA.
R>     With this commit, the glue required by the nfsclrdma.ko
R>     module is complete and it should load ok.
R>     
R>     It should not affect non-RDMA operation.
R>     
R>     I've specified a long MFC, since the module still
R>     requires extensive testing and, hopefully, a review.
R>     
R>     MFC after:      3 months

This broke the build without VIMAGE:

/usr/src/FreeBSD/sys/fs/nfsclient/nfs_clvfsops.c:1547:28: error: use of undeclared identifier 'vnet0'
 1547 |                 error = rdma_check_route(vnet0, nam, NFSV4_CBSLOTS);

-- 
Gleb Smirnoff