Searched refs:ENA_RX_RING_IDX_NEXT (Results 1 – 2 of 2) sorted by relevance
87 #define ENA_RX_RING_IDX_NEXT(idx, ring_size) (((idx) + 1) & ((ring_size) - 1)) macro
1106 next_to_use = ENA_RX_RING_IDX_NEXT(next_to_use, in ena_refill_rx_bufs()1515 ENA_RX_RING_IDX_NEXT(*next_to_clean, in ena_rx_skb()1717 ENA_RX_RING_IDX_NEXT(next_to_clean, in ena_clean_rx_irq()