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