Searched refs:BNX2_TX_RING_IDX (Results 1 – 2 of 2) sorted by relevance
2861 sw_ring_cons = BNX2_TX_RING_IDX(sw_cons); in bnx2_tx_int()2894 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(sw_cons)]; in bnx2_tx_int()5460 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(j)]; in bnx2_free_tx_skbs()5863 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()6618 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6690 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6742 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6751 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