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:	884ee8d6c9 ("nfscl: Add some glue for client side NFS over RDMA")
This commit is contained in:
Rick Macklem committed 2026-09-18 17:44:11 -07:00
1 parent ef98d08040
commit b87b15d43e
1 file changed
+1
+1
View File
@@ -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;
};