Searched refs:RX_RING_IDX (Results 1 – 2 of 2) sorted by relevance
2074 rxbd = &bp->rx_desc_ring[RX_RING_IDX(ring_prod)]; in bnx2_init_rx_ring()2079 ring_prod = RX_RING_IDX(prod); in bnx2_init_rx_ring()2532 sw_ring_cons = RX_RING_IDX(sw_cons); in bnx2_poll()2533 sw_ring_prod = RX_RING_IDX(sw_prod); in bnx2_poll()
3902 #define RX_RING_IDX(x) ((x) & bp->rx_max_ring_idx) macro