git: 02971f200083 - main - clntrdma.h: Add some fields to RDMA structures (glue for nfsclrdma.ko)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Oct 2026 23:25:57 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=02971f200083837e7a5001b00e11753d1abddc00
commit 02971f200083837e7a5001b00e11753d1abddc00
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2026-10-17 23:24:00 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2026-10-17 23:24:00 +0000
clntrdma.h: Add some fields to RDMA structures (glue for nfsclrdma.ko)
This patch adds some fields to NFS client side RDMA
structures and an additional argument to xprt_rdma_release_send().
This patch does not fix any semantics issue.
MFC after: 3 months
Fixes: 884ee8d6c9b4 ("nfscl: Add some glue for client side NFS over RDMA")
---
sys/rpc/clntrdma.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys/rpc/clntrdma.h b/sys/rpc/clntrdma.h
index d3ebba399563..ab048ae01608 100644
--- a/sys/rpc/clntrdma.h
+++ b/sys/rpc/clntrdma.h
@@ -14,6 +14,7 @@ struct rpcrdma_reduce_pg {
uint32_t xid;
uint32_t pos;
uint32_t len;
+ uint32_t off;
uint32_t npg;
uint32_t into_mem;
uint32_t pg_allocd;
@@ -29,6 +30,7 @@ struct rpcrdma_xprt {
uint32_t maxio;
uint32_t maxsge;
uint32_t maxsegs;
+ uint32_t maxreads;
void *ep;
};
@@ -88,7 +90,7 @@ int xprt_rdma_send(struct rpcrdma_xprt *xp, struct mbuf *mreq, int ind);
void xprt_rdma_release_send(struct rpcrdma_xprt *xp, int ind,
struct rpcrdma_chunk *extern_chp, struct rpcrdma_chunk *extern_reply_chp,
- struct rpcrdma_chunk *extern_request_chp);
+ struct rpcrdma_chunk *extern_request_chp, enum clnt_stat stat);
int xprt_rdma_recv(struct rpcrdma_xprt *xp);