Home
last modified time | relevance | path

Searched refs:IRDMA_RING_CURRENT_HEAD (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/ofed/libirdma/
H A Dirdma_defs.h320 (_cq)->cq_base[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
325 ((_cq)->cq_base))[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
335 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head) macro
447 index = IRDMA_RING_CURRENT_HEAD(_ring); \
H A Dirdma_uk.c111 wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_nop_1()
167 sw_sq_head = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_uk_qp_post_wr()
209 if (IRDMA_RING_CURRENT_HEAD(qp->initial_ring) != in irdma_qp_push_wqe()
241 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) % in irdma_qp_get_next_send_wqe()
254 nop_wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
264 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
274 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) & 1)) { in irdma_qp_get_next_send_wqe()
275 wqe_0 = qp->sq_base[IRDMA_RING_CURRENT_HEAD(qp->sq_ring)].elem; in irdma_qp_get_next_send_wqe()
1437 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()
1513 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
[all …]
/freebsd/sys/dev/irdma/
H A Dirdma_uk.c111 wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_nop_1()
167 sw_sq_head = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_uk_qp_post_wr()
209 if (IRDMA_RING_CURRENT_HEAD(qp->initial_ring) != in irdma_qp_push_wqe()
241 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) % in irdma_qp_get_next_send_wqe()
254 nop_wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
264 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_qp_get_next_send_wqe()
274 (IRDMA_RING_CURRENT_HEAD(qp->sq_ring) & 1)) { in irdma_qp_get_next_send_wqe()
275 wqe_0 = qp->sq_base[IRDMA_RING_CURRENT_HEAD(qp->sq_ring)].elem; in irdma_qp_get_next_send_wqe()
1328 IRDMA_RING_CURRENT_HEAD(cq->cq_ring)); in irdma_uk_cq_poll_cmpl()
1407 if (!IRDMA_RING_CURRENT_HEAD(cq->cq_ring)) in irdma_uk_cq_poll_cmpl()
[all …]
H A Dirdma_defs.h1404 (_cq)->cq_base[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
1409 ((_cq)->cq_base))[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
1419 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head) macro
1531 index = IRDMA_RING_CURRENT_HEAD(_ring); \
H A Dirdma_puda.c235 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_puda_get_next_send_wqe()
293 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_info()
448 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_cmpl()
453 IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)); in irdma_puda_poll_cmpl()
H A Dirdma_ctrl.c3334 db_wr32(IRDMA_RING_CURRENT_HEAD(cqp->sq_ring), cqp->dev->cqp_db); in irdma_sc_cqp_post_sq()
3492 if (!IRDMA_RING_CURRENT_HEAD(ccq->cq_uk.cq_ring)) in irdma_sc_ccq_get_cqe_info()
3498 IRDMA_RING_CURRENT_HEAD(ccq->cq_uk.cq_ring)); in irdma_sc_ccq_get_cqe_info()