Home
last modified time | relevance | path

Searched refs:RING_CMP (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_cpr.h31 #define RING_CMP(ring, idx) ((idx) & (ring)->ring_mask) macro
33 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
48 RING_CMP(((cpr)->cp_ring_struct), raw_cons)), \
68 RING_CMP(((cpr)->cp_ring_struct), raw_cons)), \
H A Dbnxt_ring.h98 RING_CMP(cpr->cp_ring_struct, cpr->cp_raw_cons), in bnxt_db_nq()
109 RING_CMP(cpr->cp_ring_struct, cpr->cp_raw_cons), in bnxt_db_nq_arm()
116 uint32_t idx = RING_CMP(cpr->cp_ring_struct, cpr->cp_raw_cons); in bnxt_db_cq()
H A Dbnxt_rxr.c189 last_cp_cons = RING_CMP(cpr->cp_ring_struct, raw_cp_cons); in bnxt_agg_bufs_valid()
238 cp_cons = RING_CMP(cpr->cp_ring_struct, *tmp_raw_cons); in bnxt_rx_pages()
670 RING_CMP(cpr->cp_ring_struct, tmp_raw_cons); in bnxt_rx_pkt()
696 cp_cons = RING_CMP(cpr->cp_ring_struct, tmp_raw_cons); in bnxt_rx_pkt()
866 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_recv_pkts()
H A Dbnxt_irq.c45 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_int_handler()
H A Dbnxt_ethdev.c2906 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_queue_count_op()
2945 cons = RING_CMP(cpr->cp_ring_struct, offset); in bnxt_rx_descriptor_status_op()
2988 cons = RING_CMP(cpr->cp_ring_struct, offset); in bnxt_tx_descriptor_status_op()