Searched refs:ENA_TX_RING_IDX_NEXT (Results 1 – 2 of 2) sorted by relevance
88 #define ENA_TX_RING_IDX_NEXT(idx, ring_size) (((idx) + 1) & ((ring_size) - 1)) macro
182 ring->next_to_use = ENA_TX_RING_IDX_NEXT(next_to_use, in ena_xmit_common()1371 next_to_clean = ENA_TX_RING_IDX_NEXT(next_to_clean, in ena_clean_tx_irq()1999 next_to_clean = ENA_TX_RING_IDX_NEXT(next_to_clean, in ena_clean_xdp_irq()