Lines Matching defs:svcxprt_rdma
131 struct svcxprt_rdma { struct
132 struct svc_xprt sc_xprt; /* SVC transport structure */
133 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */
134 struct list_head sc_accept_q; /* Conn. waiting accept */
135 int sc_ord; /* RDMA read limit */
136 int sc_max_sge;
138 int sc_sq_depth; /* Depth of SQ */
139 atomic_t sc_sq_count; /* Number of SQ WR on queue */
141 int sc_max_requests; /* Depth of RQ */
142 int sc_max_req_size; /* Size of each RQ WR buf */
144 struct ib_pd *sc_pd;
146 atomic_t sc_dma_used;
147 atomic_t sc_ctxt_used;
148 struct list_head sc_rq_dto_q;
149 spinlock_t sc_rq_dto_lock;
150 struct ib_qp *sc_qp;
151 struct ib_cq *sc_rq_cq;
152 struct ib_cq *sc_sq_cq;
153 struct ib_mr *sc_phys_mr; /* MR for server memory */
154 u32 sc_dev_caps; /* distilled device caps */
155 u32 sc_dma_lkey; /* local dma key */
156 unsigned int sc_frmr_pg_list_len;
157 struct list_head sc_frmr_q;
158 spinlock_t sc_frmr_q_lock;
160 spinlock_t sc_lock; /* transport lock */
162 wait_queue_head_t sc_send_wait; /* SQ exhaustion waitlist */
163 unsigned long sc_flags;
187 extern int svc_rdma_xdr_encode_error(struct svcxprt_rdma *, argument