Searched refs:r_rq (Results 1 – 4 of 4) sorted by relevance
68 credits = READ_ONCE(qp->r_rq.kwq->count); in rvt_compute_aeth()72 head = RDMA_READ_UAPI_ATOMIC(qp->r_rq.wq->head); in rvt_compute_aeth()73 tail = RDMA_READ_UAPI_ATOMIC(qp->r_rq.wq->tail); in rvt_compute_aeth()75 head = READ_ONCE(qp->r_rq.kwq->head); in rvt_compute_aeth()76 tail = READ_ONCE(qp->r_rq.kwq->tail); in rvt_compute_aeth()78 if (head >= qp->r_rq.size) in rvt_compute_aeth()80 if (tail >= qp->r_rq.size) in rvt_compute_aeth()88 credits = rvt_get_rq_count(&qp->r_rq, head, tail); in rvt_compute_aeth()
1132 qp->r_rq.size = init_attr->cap.max_recv_wr + 1; in rvt_create_qp()1133 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in rvt_create_qp()1134 sz = (sizeof(struct ib_sge) * qp->r_rq.max_sge) + in rvt_create_qp()1136 ret = rvt_alloc_rq(&qp->r_rq, qp->r_rq.size * sz, in rvt_create_qp()1198 if (!qp->r_rq.wq) { in rvt_create_qp()1206 u32 s = sizeof(struct rvt_rwq) + qp->r_rq.size * sz; in rvt_create_qp()1209 qp->r_rq.wq); in rvt_create_qp()1265 rvt_free_rq(&qp->r_rq); in rvt_create_qp()1328 if (qp->r_rq.kwq) { in rvt_error_qp()1334 spin_lock(&qp->r_rq.kwq->c_lock); in rvt_error_qp()[all …]
394 struct rvt_rq r_rq; /* receive work queue */ member
664 srq ? srq->rq.size : qp->r_rq.size in qp_iter_print()