Searched refs:r_rq (Results 1 - 5 of 5) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_qp.c366 if (qp->r_rq.wq) {
367 qp->r_rq.wq->head = 0;
368 qp->r_rq.wq->tail = 0;
430 if (qp->r_rq.wq) {
435 spin_lock(&qp->r_rq.lock);
438 wq = qp->r_rq.wq;
440 if (head >= qp->r_rq.size)
443 if (tail >= qp->r_rq.size)
447 wc.wr_id = get_rwqe_ptr(&qp->r_rq, tail)->wr_id;
448 if (++tail >= qp->r_rq
[all...]
H A Dipath_verbs.c283 struct ipath_rwq *wq = qp->r_rq.wq;
299 if ((unsigned) wr->num_sge > qp->r_rq.max_sge) {
305 spin_lock_irqsave(&qp->r_rq.lock, flags);
307 if (next >= qp->r_rq.size)
310 spin_unlock_irqrestore(&qp->r_rq.lock, flags);
316 wqe = get_rwqe_ptr(&qp->r_rq, wq->head);
322 spin_unlock_irqrestore(&qp->r_rq.lock, flags);
H A Dipath_ud.c166 rq = &qp->r_rq;
H A Dipath_verbs.h270 * and stored in qp->r_rq.max_sge (or srq->rq.max_sge).
331 * Common variables are protected by both r_rq.lock and s_lock in that order
406 struct ipath_rq r_rq; /* receive work queue */ member in struct:ipath_qp
H A Dipath_ruc.c174 rq = &qp->r_rq;

Completed in 74 milliseconds