Searched refs:RX_RING (Results 1 – 2 of 2) sorted by relevance
2651 &rxr->rx_pg_desc_ring[RX_RING(index)][RX_IDX(index)]; in bnx2_alloc_rx_page()2692 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(index)][RX_IDX(index)]; in bnx2_alloc_rx_skb()2897 cons_bd = &rxr->rx_pg_desc_ring[RX_RING(cons)][RX_IDX(cons)]; in bnx2_reuse_rx_skb_pages()2898 prod_bd = &rxr->rx_pg_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnx2_reuse_rx_skb_pages()2942 cons_bd = &rxr->rx_desc_ring[RX_RING(cons)][RX_IDX(cons)]; in bnx2_reuse_rx_skb()2943 prod_bd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnx2_reuse_rx_skb()
6529 #define RX_RING(x) (((x) & ~MAX_RX_DESC_CNT) >> (BCM_PAGE_BITS - 4)) macro