Searched refs:BNX2_RX_IDX (Results 1 – 2 of 2) sorted by relevance
2726 &rxr->rx_pg_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)]; in bnx2_alloc_rx_page()2768 &rxr->rx_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)]; in bnx2_alloc_rx_data()2971 [BNX2_RX_IDX(cons)]; in bnx2_reuse_rx_skb_pages()2973 [BNX2_RX_IDX(prod)]; in bnx2_reuse_rx_skb_pages()3016 cons_bd = &rxr->rx_desc_ring[BNX2_RX_RING(cons)][BNX2_RX_IDX(cons)]; in bnx2_reuse_rx_data()3017 prod_bd = &rxr->rx_desc_ring[BNX2_RX_RING(prod)][BNX2_RX_IDX(prod)]; in bnx2_reuse_rx_data()
6582 #define BNX2_RX_IDX(x) ((x) & BNX2_MAX_RX_DESC_CNT) macro