aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/svc_rdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/svc_rdma.h')
-rw-r--r--include/linux/sunrpc/svc_rdma.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h
index 7ccc961f33e9..f869807a0d0e 100644
--- a/include/linux/sunrpc/svc_rdma.h
+++ b/include/linux/sunrpc/svc_rdma.h
@@ -105,11 +105,9 @@ struct svc_rdma_chunk_sge {
105}; 105};
106struct svc_rdma_fastreg_mr { 106struct svc_rdma_fastreg_mr {
107 struct ib_mr *mr; 107 struct ib_mr *mr;
108 void *kva; 108 struct scatterlist *sg;
109 struct ib_fast_reg_page_list *page_list; 109 int sg_nents;
110 int page_list_len;
111 unsigned long access_flags; 110 unsigned long access_flags;
112 unsigned long map_len;
113 enum dma_data_direction direction; 111 enum dma_data_direction direction;
114 struct list_head frmr_list; 112 struct list_head frmr_list;
115}; 113};
@@ -228,9 +226,13 @@ extern void svc_rdma_put_frmr(struct svcxprt_rdma *,
228 struct svc_rdma_fastreg_mr *); 226 struct svc_rdma_fastreg_mr *);
229extern void svc_sq_reap(struct svcxprt_rdma *); 227extern void svc_sq_reap(struct svcxprt_rdma *);
230extern void svc_rq_reap(struct svcxprt_rdma *); 228extern void svc_rq_reap(struct svcxprt_rdma *);
231extern struct svc_xprt_class svc_rdma_class;
232extern void svc_rdma_prep_reply_hdr(struct svc_rqst *); 229extern void svc_rdma_prep_reply_hdr(struct svc_rqst *);
233 230
231extern struct svc_xprt_class svc_rdma_class;
232#ifdef CONFIG_SUNRPC_BACKCHANNEL
233extern struct svc_xprt_class svc_rdma_bc_class;
234#endif
235
234/* svc_rdma.c */ 236/* svc_rdma.c */
235extern int svc_rdma_init(void); 237extern int svc_rdma_init(void);
236extern void svc_rdma_cleanup(void); 238extern void svc_rdma_cleanup(void);