Searched refs:BNX2_TX_RING_IDX (Results 1 – 2 of 2) sorted by relevance
2860 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int()2893 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()5443 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(j)]; in bnx2_free_tx_skbs()5846 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()6601 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6673 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6725 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6734 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()
6572 #define BNX2_TX_RING_IDX(x) ((x) & BNX2_MAX_TX_DESC_CNT) macro