Lines Matching refs:srq
282 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_create_srq() local
298 err = rxe_add_to_pool(&rxe->srq_pool, srq); in rxe_create_srq()
303 srq->pd = pd; in rxe_create_srq()
305 err = rxe_srq_from_init(rxe, srq, init, udata, uresp); in rxe_create_srq()
312 rxe_cleanup(srq); in rxe_create_srq()
322 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_modify_srq() local
335 err = rxe_srq_chk_attr(rxe, srq, attr, mask); in rxe_modify_srq()
339 return rxe_srq_from_attr(rxe, srq, attr, mask, &ucmd, udata); in rxe_modify_srq()
344 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_query_srq() local
346 if (srq->error) in rxe_query_srq()
349 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
350 attr->max_sge = srq->rq.max_sge; in rxe_query_srq()
351 attr->srq_limit = srq->limit; in rxe_query_srq()
357 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_destroy_srq() local
359 rxe_cleanup(srq); in rxe_destroy_srq()
367 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_post_srq_recv() local
370 spin_lock_irqsave(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
373 err = post_one_recv(&srq->rq, wr); in rxe_post_srq_recv()
379 spin_unlock_irqrestore(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
725 if (unlikely(qp->srq)) { in rxe_post_recv()