svcrdma: Add a service to register a Fast Reg MR with the device
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Bruce:
This patch has a gratuitous dprintk. The version below doesn't have it. The version in my git repository doesn't either.
Sorry for the noise...
Tom
Fast Reg MR introduces a new WR type. Add a service to register the region with the adapter and update the completion handling to support completions with a NULL WR context.
--- include/linux/sunrpc/svc_rdma.h | 1 + net/sunrpc/xprtrdma/svc_rdma_transport.c | 118 +++++++++++++++++++++--------- 2 files changed, 84 insertions(+), 35 deletions(-)
include/linux/sunrpc/svc_rdma.h +1 -0
@@ -214,6 +214,7 @@ extern struct svc_rdma_op_ctxt *svc_rdma_get_context(struct svcxprt_rdma *);extern void svc_rdma_put_context (struct svc_rdma_op_ctxt *,int );extern struct svc_rdma_req_map *svc_rdma_get_req_map (void );extern void svc_rdma_put_req_map (struct svc_rdma_req_map *); +extern int svc_rdma_fastreg (struct svcxprt_rdma *,struct svc_rdma_fastreg_mr *);extern struct svc_rdma_fastreg_mr *svc_rdma_get_frmr (struct svcxprt_rdma *);extern void svc_rdma_put_frmr (struct svcxprt_rdma *,struct svc_rdma_fastreg_mr *);
net/sunrpc/xprtrdma/svc_rdma_transport.c +83 -35
155 lines not on this page · raw message