Searched refs:RING_CMP (Results 1 – 2 of 2) sorted by relevance
871 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro872 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
1068 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg()1386 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()1879 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()2101 u16 cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()2126 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt()2384 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()2389 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_force_rx_discard()2984 u32 cons = RING_CMP(cpr->cp_raw_cons); in bnxt_msix()2995 u16 cons = RING_CMP(raw_cons); in bnxt_has_work()3020 cons = RING_CMP(raw_cons); in __bnxt_poll_work()[all …]