Lines Matching defs:svcxprt_rdma
75 struct svcxprt_rdma { struct
76 struct svc_xprt sc_xprt; /* SVC transport structure */
77 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */
78 struct list_head sc_accept_q; /* Conn. waiting accept */
79 int sc_ord; /* RDMA read limit */
80 int sc_max_send_sges;
81 bool sc_snd_w_inv; /* OK to use Send With Invalidate */
83 atomic_t sc_sq_avail; /* SQEs ready to be consumed */
84 unsigned int sc_sq_depth; /* Depth of SQ */
85 __be32 sc_fc_credits; /* Forward credits */
86 u32 sc_max_requests; /* Max requests */
87 u32 sc_max_bc_requests;/* Backward credits */
88 int sc_max_req_size; /* Size of each RQ WR buf */
89 u8 sc_port_num;
91 struct ib_pd *sc_pd;
93 spinlock_t sc_send_lock;
94 struct list_head sc_send_ctxts;
95 spinlock_t sc_rw_ctxt_lock;
96 struct list_head sc_rw_ctxts;
98 struct list_head sc_rq_dto_q;
99 spinlock_t sc_rq_dto_lock;
100 struct ib_qp *sc_qp;
101 struct ib_cq *sc_rq_cq;
102 struct ib_cq *sc_sq_cq;
104 spinlock_t sc_lock; /* transport lock */
106 wait_queue_head_t sc_send_wait; /* SQ exhaustion waitlist */
107 unsigned long sc_flags;
108 struct list_head sc_read_complete_q;
109 struct work_struct sc_work;
111 struct llist_head sc_recv_ctxts;