Searched refs:pending_count (Results 1 – 8 of 8) sorted by relevance
34 rte_atomic16_t pending_count; member40 uint16_t pending_count = rte_atomic16_read(&qp->pending_count); in nitrox_qp_free_count() local42 RTE_ASSERT(qp->count >= pending_count); in nitrox_qp_free_count()43 return (qp->count - pending_count); in nitrox_qp_free_count()49 return (rte_atomic16_read(&qp->pending_count) == 0); in nitrox_qp_is_empty()55 return rte_atomic16_read(&qp->pending_count); in nitrox_qp_used_count()89 rte_atomic16_inc(&qp->pending_count); in nitrox_qp_enqueue()96 rte_atomic16_dec(&qp->pending_count); in nitrox_qp_dequeue()
88 rte_atomic16_init(&qp->pending_count); in nitrox_qp_setup()
127 qp->pend_q.pending_count = 0; in ree_qp_create()289 if (unlikely(pend_q->pending_count >= OTX2_REE_DEFAULT_CMD_QLEN)) { in ree_enqueue()291 pend_q->pending_count, OTX2_REE_DEFAULT_CMD_QLEN); in ree_enqueue()357 pend_q->pending_count += 1; in ree_enqueue()377 nb_allowed = OTX2_REE_DEFAULT_CMD_QLEN - pend_q->pending_count; in otx2_ree_enqueue_burst()461 nb_pending = pend_q->pending_count; in otx2_ree_dequeue_burst()478 pend_q->pending_count -= 1; in otx2_ree_dequeue_burst()
82 uint64_t pending_count; member
36 uint64_t pending_count; member
418 if (unlikely(pqueue->pending_count >= DEFAULT_CMD_QLEN)) in otx_cpt_request_enqueue()437 pqueue->pending_count += 1; in otx_cpt_request_enqueue()643 count = DEFAULT_CMD_QLEN - pqueue->pending_count; in otx_cpt_pkt_enqueue()835 pcount = pqueue->pending_count; in otx_cpt_pkt_dequeue()862 pqueue->pending_count -= 1; in otx_cpt_pkt_dequeue()
576 cptvf->pqueue.pending_count = 0; in otx_cpt_get_resource()
235 qp->pend_q.pending_count = 0; in otx2_cpt_qp_create()493 if (unlikely(pend_q->pending_count >= OTX2_CPT_DEFAULT_CMD_QLEN)) in otx2_cpt_enqueue_req()527 pend_q->pending_count += 1; in otx2_cpt_enqueue_req()725 nb_allowed = OTX2_CPT_DEFAULT_CMD_QLEN - pend_q->pending_count; in otx2_cpt_enqueue_burst()985 nb_pending = pend_q->pending_count; in otx2_cpt_dequeue_burst()1002 pend_q->pending_count -= 1; in otx2_cpt_dequeue_burst()