Searched refs:BNX2_RX_IDX (Results 1 – 2 of 2) sorted by relevance
2727 &rxr->rx_pg_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)]; in bnx2_alloc_rx_page()2769 &rxr->rx_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)]; in bnx2_alloc_rx_data()2973 [BNX2_RX_IDX(cons)]; in bnx2_reuse_rx_skb_pages()2975 [BNX2_RX_IDX(prod)]; in bnx2_reuse_rx_skb_pages()3018 cons_bd = &rxr->rx_desc_ring[BNX2_RX_RING(cons)][BNX2_RX_IDX(cons)]; in bnx2_reuse_rx_data()3019 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