Lines Matching refs:rq
15 static int post_one_recv(struct rxe_rq *rq, const struct ib_recv_wr *ibwr);
478 attr->max_wr = srq->rq.queue->buf->index_mask;
479 attr->max_sge = srq->rq.max_sge;
495 spin_lock_irqsave(&srq->rq.producer_lock, flags);
498 err = post_one_recv(&srq->rq, wr);
504 spin_unlock_irqrestore(&srq->rq.producer_lock, flags);
949 static int post_one_recv(struct rxe_rq *rq, const struct ib_recv_wr *ibwr)
958 full = queue_full(rq->queue, QUEUE_TYPE_FROM_ULP);
965 if (unlikely(num_sge > rq->max_sge)) {
982 recv_wqe = queue_producer_addr(rq->queue, QUEUE_TYPE_FROM_ULP);
993 queue_advance_producer(rq->queue, QUEUE_TYPE_FROM_ULP);
1007 struct rxe_rq *rq = &qp->rq;
1033 spin_lock_irqsave(&rq->producer_lock, flags);
1036 err = post_one_recv(rq, wr);
1044 spin_unlock_irqrestore(&rq->producer_lock, flags);