mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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: 884ee8d6c9 ("nfscl: Add some glue for client side NFS over RDMA")
This commit is contained in:
1 parent
461da47e45
commit
02971f2000
1 file changed
+3
-1
+3
-1
@@ -14,6 +14,7 @@ struct rpcrdma_reduce_pg {
|
|||||||
uint32_t xid;
|
uint32_t xid;
|
||||||
uint32_t pos;
|
uint32_t pos;
|
||||||
uint32_t len;
|
uint32_t len;
|
||||||
|
uint32_t off;
|
||||||
uint32_t npg;
|
uint32_t npg;
|
||||||
uint32_t into_mem;
|
uint32_t into_mem;
|
||||||
uint32_t pg_allocd;
|
uint32_t pg_allocd;
|
||||||
@@ -29,6 +30,7 @@ struct rpcrdma_xprt {
|
|||||||
uint32_t maxio;
|
uint32_t maxio;
|
||||||
uint32_t maxsge;
|
uint32_t maxsge;
|
||||||
uint32_t maxsegs;
|
uint32_t maxsegs;
|
||||||
|
uint32_t maxreads;
|
||||||
void *ep;
|
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,
|
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_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);
|
int xprt_rdma_recv(struct rpcrdma_xprt *xp);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user