diff options
Diffstat (limited to 'include/linux/sunrpc/svc_rdma.h')
-rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 12 |
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 | }; |
106 | struct svc_rdma_fastreg_mr { | 106 | struct 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 *); |
229 | extern void svc_sq_reap(struct svcxprt_rdma *); | 227 | extern void svc_sq_reap(struct svcxprt_rdma *); |
230 | extern void svc_rq_reap(struct svcxprt_rdma *); | 228 | extern void svc_rq_reap(struct svcxprt_rdma *); |
231 | extern struct svc_xprt_class svc_rdma_class; | ||
232 | extern void svc_rdma_prep_reply_hdr(struct svc_rqst *); | 229 | extern void svc_rdma_prep_reply_hdr(struct svc_rqst *); |
233 | 230 | ||
231 | extern struct svc_xprt_class svc_rdma_class; | ||
232 | #ifdef CONFIG_SUNRPC_BACKCHANNEL | ||
233 | extern struct svc_xprt_class svc_rdma_bc_class; | ||
234 | #endif | ||
235 | |||
234 | /* svc_rdma.c */ | 236 | /* svc_rdma.c */ |
235 | extern int svc_rdma_init(void); | 237 | extern int svc_rdma_init(void); |
236 | extern void svc_rdma_cleanup(void); | 238 | extern void svc_rdma_cleanup(void); |