Lines Matching refs:srq
294 struct rxe_srq *srq = qp->srq; in get_srq_wqe() local
295 struct rxe_queue *q = srq->rq.queue; in get_srq_wqe()
301 if (srq->error) in get_srq_wqe()
304 spin_lock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
308 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
313 if (unlikely(wqe->dma.num_sge > srq->rq.max_sge)) { in get_srq_wqe()
314 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
325 if (srq->limit && srq->ibsrq.event_handler && (count < srq->limit)) { in get_srq_wqe()
326 srq->limit = 0; in get_srq_wqe()
330 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
334 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
336 ev.element.srq = qp->ibqp.srq; in get_srq_wqe()
338 srq->ibsrq.event_handler(&ev, srq->ibsrq.srq_context); in get_srq_wqe()
345 struct rxe_srq *srq = qp->srq; in check_resource() local
351 } else if (!srq) { in check_resource()
377 if (srq) in check_resource()
919 if (!qp->srq) in do_complete()
1146 if (qp->srq) { in do_class_d1e_error()
1191 while (!qp->srq && q && queue_head(q, q->type)) in rxe_drain_req_pkts()
1308 if (qp->srq) { in rxe_responder()
1332 } else if (qp->srq) { in rxe_responder()