Home
last modified time | relevance | path

Searched refs:sq_ring (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/i40iw/
Di40iw_uk.c54 if (!qp->sq_ring.head) in i40iw_nop_1()
57 wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_nop_1()
62 peek_head = (qp->sq_ring.head + 1) % qp->sq_ring.size; in i40iw_nop_1()
99 sw_sq_head = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_post_wr()
114 qp->initial_ring.head = qp->sq_ring.head; in i40iw_qp_post_wr()
125 qp->initial_ring.head = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_ring_push_db()
149 *wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_get_next_send_wqe()
159 I40IW_RING_MOVE_HEAD(qp->sq_ring, ret_code); in i40iw_qp_get_next_send_wqe()
164 *wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_get_next_send_wqe()
171 I40IW_RING_MOVE_HEAD(qp->sq_ring, ret_code); in i40iw_qp_get_next_send_wqe()
[all …]
Di40iw_ctrl.c116 I40IW_RING_MOVE_TAIL(cqp->sq_ring); in i40iw_cqp_poll_registers()
482 I40IW_RING_INIT(cqp->sq_ring, cqp->sq_size); in i40iw_sc_cqp_init()
585 i40iw_wr32(cqp->dev->hw, I40E_PFPE_CQPDB, I40IW_RING_GETCURRENT_HEAD(cqp->sq_ring)); in i40iw_sc_cqp_post_sq()
587 i40iw_wr32(cqp->dev->hw, I40E_VFPE_CQPDB1, I40IW_RING_GETCURRENT_HEAD(cqp->sq_ring)); in i40iw_sc_cqp_post_sq()
593 cqp->sq_ring.head, in i40iw_sc_cqp_post_sq()
594 cqp->sq_ring.tail, in i40iw_sc_cqp_post_sq()
595 cqp->sq_ring.size); in i40iw_sc_cqp_post_sq()
610 if (I40IW_RING_FULL_ERR(cqp->sq_ring)) { in i40iw_sc_cqp_get_next_send_wqe_idx()
615 cqp->sq_ring.head, in i40iw_sc_cqp_get_next_send_wqe_idx()
616 cqp->sq_ring.tail, in i40iw_sc_cqp_get_next_send_wqe_idx()
[all …]
Di40iw_puda.c211 *wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_puda_get_next_send_wqe()
214 I40IW_RING_MOVE_HEAD(qp->sq_ring, ret_code); in i40iw_puda_get_next_send_wqe()
346 I40IW_RING_SET_TAIL(qp->sq_ring, info.wqe_idx); in i40iw_puda_poll_completion()
599 I40IW_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in i40iw_puda_qp_create()
Di40iw_user.h345 struct i40iw_ring sq_ring; member
Di40iw_utils.c463 pending_work = I40IW_RING_WORK_AVAILABLE(cqp->sc_cqp.sq_ring); in i40iw_cleanup_pending_cqp_op()
464 wqe_idx = I40IW_RING_GETCURRENT_TAIL(cqp->sc_cqp.sq_ring); in i40iw_cleanup_pending_cqp_op()
469 wqe_idx = (wqe_idx + 1) % I40IW_RING_GETSIZE(cqp->sc_cqp.sq_ring); in i40iw_cleanup_pending_cqp_op()
Di40iw_type.h306 struct i40iw_ring sq_ring; member
Di40iw_verbs.c1637 if (I40IW_RING_MORE_WORK(qp->qp_uk.sq_ring)) in i40iw_drain_sq()
2391 if (!I40IW_RING_MORE_WORK(qp->qp_uk.sq_ring)) in i40iw_poll_cq()