Home
last modified time | relevance | path

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

/dpdk/drivers/net/bnxt/
H A Dbnxt_cpr.h24 #define RING_CMP(ring, idx) ((idx) & (ring)->ring_mask) macro
26 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
H A Dbnxt_rxr.c298 last_cp_cons = RING_CMP(cpr->cp_ring_struct, raw_cp_cons); in bnxt_agg_bufs_valid()
347 cp_cons = RING_CMP(cpr->cp_ring_struct, *tmp_raw_cons); in bnxt_rx_pages()
850 RING_CMP(cpr->cp_ring_struct, tmp_raw_cons); in bnxt_rx_pkt()
876 cp_cons = RING_CMP(cpr->cp_ring_struct, tmp_raw_cons); in bnxt_rx_pkt()
1064 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_recv_pkts()
1397 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_flush_rx_cmp()
H A Dbnxt_irq.c49 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_int_handler()
H A Dbnxt_ethdev.c3165 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_queue_count_op()
3240 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_descriptor_status_op()
3247 cons = RING_CMP(rxr->rx_ring_struct, raw_cons / 2); in bnxt_rx_descriptor_status_op()
3266 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_descriptor_status_op()