git: b87b15d43ea3 - main - clntrdma.h: Add a field to rpcrdma_xprt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Sep 2026 00:46:13 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=b87b15d43ea3732c5c67ac0b8c342b88d6398168
commit b87b15d43ea3732c5c67ac0b8c342b88d6398168
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2026-09-19 00:44:11 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2026-09-19 00:44:11 +0000
clntrdma.h: Add a field to rpcrdma_xprt
Add a maxsegs field to rpcrdma_xprt, which is used to set
the number of segments allowed for a chunk based on device
attributes.
This commit should not affect non-RDMA behaviour.
MFC after: 3 months
Fixes: 884ee8d6c9b4 ("nfscl: Add some glue for client side NFS over RDMA")
---
sys/rpc/clntrdma.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/rpc/clntrdma.h b/sys/rpc/clntrdma.h
index 1b5ecb16f457..80836fb26fa5 100644
--- a/sys/rpc/clntrdma.h
+++ b/sys/rpc/clntrdma.h
@@ -27,6 +27,7 @@ struct rpcrdma_xprt {
uint32_t maxbck;
uint32_t maxio;
uint32_t maxsge;
+ uint32_t maxsegs;
uint32_t use_bounce;
void *ep;
};