Lines Matching refs:rq
56 srq->rq.max_wr = init->attr.max_wr;
57 srq->rq.max_sge = init->attr.max_sge;
60 srq->rq.max_sge*sizeof(struct ib_sge);
62 spin_lock_init(&srq->rq.producer_lock);
63 spin_lock_init(&srq->rq.consumer_lock);
65 q = rxe_queue_init(rxe, &srq->rq.max_wr, wqe_size,
80 srq->rq.queue = q;
81 init->attr.max_wr = srq->rq.max_wr;
137 if (attr->srq_limit > srq->rq.queue->buf->index_mask) {
140 srq->rq.queue->buf->index_mask);
155 struct rxe_queue *q = srq->rq.queue;
168 srq->rq.max_sge*sizeof(struct ib_sge);
171 udata, mi, &srq->rq.producer_lock,
172 &srq->rq.consumer_lock);
176 srq->rq.max_wr = attr->max_wr;
186 srq->rq.queue = NULL;
197 if (srq->rq.queue)
198 rxe_queue_cleanup(srq->rq.queue);