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()5444 tx_buf = &txr->tx_buf_ring[BNX2_TX_RING_IDX(j)]; in bnx2_free_tx_skbs()5847 txbd = &txr->tx_desc_ring[BNX2_TX_RING_IDX(txr->tx_prod)]; in bnx2_run_loopback()6602 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6674 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6726 ring_prod = BNX2_TX_RING_IDX(prod); in bnx2_start_xmit()6735 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