Lines Matching full:rdma
54 #include <rdma/ib_verbs.h>
55 #include <rdma/rdma_cm.h>
64 /* RPC/RDMA parameters and stats */
78 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */
81 int sc_ord; /* RDMA read limit */
142 * @rdma: controlling transport
145 static inline void svc_rdma_recv_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_recv_cid_init() argument
148 cid->ci_queue_id = rdma->sc_rq_cq->res.id; in svc_rdma_recv_cid_init()
149 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_recv_cid_init()
154 * @rdma: controlling transport
157 static inline void svc_rdma_send_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_send_cid_init() argument
160 cid->ci_queue_id = rdma->sc_sq_cq->res.id; in svc_rdma_send_cid_init()
161 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_send_cid_init()
256 extern void svc_rdma_recv_ctxts_destroy(struct svcxprt_rdma *rdma);
257 extern bool svc_rdma_post_recvs(struct svcxprt_rdma *rdma);
259 svc_rdma_recv_ctxt_get(struct svcxprt_rdma *rdma);
260 extern void svc_rdma_recv_ctxt_put(struct svcxprt_rdma *rdma,
262 extern void svc_rdma_flush_recv_queues(struct svcxprt_rdma *rdma);
267 extern void svc_rdma_cc_init(struct svcxprt_rdma *rdma,
269 extern void svc_rdma_destroy_rw_ctxts(struct svcxprt_rdma *rdma);
270 extern void svc_rdma_cc_init(struct svcxprt_rdma *rdma,
272 extern void svc_rdma_cc_release(struct svcxprt_rdma *rdma,
275 extern void svc_rdma_reply_chunk_release(struct svcxprt_rdma *rdma,
277 extern int svc_rdma_send_write_list(struct svcxprt_rdma *rdma,
280 extern int svc_rdma_prepare_reply_chunk(struct svcxprt_rdma *rdma,
285 extern int svc_rdma_process_read_list(struct svcxprt_rdma *rdma,
290 extern void svc_rdma_send_ctxts_destroy(struct svcxprt_rdma *rdma);
292 svc_rdma_send_ctxt_get(struct svcxprt_rdma *rdma);
293 extern void svc_rdma_send_ctxt_put(struct svcxprt_rdma *rdma,
295 extern int svc_rdma_post_send(struct svcxprt_rdma *rdma,
297 extern int svc_rdma_map_reply_msg(struct svcxprt_rdma *rdma,
302 extern void svc_rdma_send_error_msg(struct svcxprt_rdma *rdma,
306 extern void svc_rdma_wake_send_waiters(struct svcxprt_rdma *rdma, int avail);