Home
last modified time | relevance | path

Searched refs:sq_rptr (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c411 struct t3_swsq *sqp = wq->sq + Q_PTR2IDX(wq->sq_rptr, wq->sq_size_log2); in cxio_flush_sq()
413 ptr = wq->sq_rptr + count; in cxio_flush_sq()
1078 __u32 ptr = wq->sq_rptr; in flush_completed_wrs()
1079 int count = Q_COUNT(wq->sq_rptr, wq->sq_wptr); in flush_completed_wrs()
1280 if (!SW_CQE(*hw_cqe) && (CQE_WRID_SQ_WPTR(*hw_cqe) != wq->sq_rptr)) { in cxio_poll_cq()
1302 wq->sq_rptr = CQE_WRID_SQ_WPTR(*hw_cqe); in cxio_poll_cq()
1304 Q_PTR2IDX(wq->sq_rptr, wq->sq_size_log2)); in cxio_poll_cq()
1305 *cookie = wq->sq[Q_PTR2IDX(wq->sq_rptr, wq->sq_size_log2)].wr_id; in cxio_poll_cq()
1306 wq->sq_rptr++; in cxio_poll_cq()
Diwch_qp.c372 num_wrs = Q_FREECNT(qhp->wq.sq_rptr, qhp->wq.sq_wptr, in iwch_post_send()
555 num_wrs = Q_FREECNT(qhp->wq.sq_rptr, qhp->wq.sq_wptr, in iwch_bind_mw()
1101 if (!Q_EMPTY(qhp->wq.sq_rptr, qhp->wq.sq_wptr) || in iwch_modify_qp()
Dcxio_wr.h702 u32 sq_rptr; /* pending wrs */ member