Lines Matching refs:cons
2891 uint32_t desc = 0, raw_cons = 0, cons; in bnxt_rx_queue_count_op() local
2906 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_queue_count_op()
2907 rte_prefetch0(&cpr->cp_desc_ring[cons]); in bnxt_rx_queue_count_op()
2908 rxcmp = (struct rx_pkt_cmpl *)&cpr->cp_desc_ring[cons]; in bnxt_rx_queue_count_op()
2929 uint32_t cons, cp_cons; in bnxt_rx_descriptor_status_op() local
2945 cons = RING_CMP(cpr->cp_ring_struct, offset); in bnxt_rx_descriptor_status_op()
2947 rxcmp = (struct rx_pkt_cmpl *)&cpr->cp_desc_ring[cons]; in bnxt_rx_descriptor_status_op()
2949 if (cons > cp_cons) { in bnxt_rx_descriptor_status_op()
2956 rx_buf = rxr->rx_buf_ring[cons]; in bnxt_rx_descriptor_status_op()
2972 uint32_t cons, cp_cons; in bnxt_tx_descriptor_status_op() local
2988 cons = RING_CMP(cpr->cp_ring_struct, offset); in bnxt_tx_descriptor_status_op()
2989 txcmp = (struct tx_pkt_cmpl *)&cpr->cp_desc_ring[cons]; in bnxt_tx_descriptor_status_op()
2992 if (cons > cp_cons) { in bnxt_tx_descriptor_status_op()
2999 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_descriptor_status_op()