Searched refs:TX_BD (Results 1 – 4 of 4) sorted by relevance
202 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons; in bnx2x_free_tx_pkt()224 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()228 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()233 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()241 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()256 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()294 pkt_cons = TX_BD(sw_cons); in bnx2x_tx_int()1505 bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons), in bnx2x_free_tx_skbs_queue()3306 bd_prod = TX_BD(NEXT_TX_IDX(bd_prod)); in bnx2x_tx_split()3858 bd_prod = TX_BD(txdata->tx_bd_prod); in bnx2x_start_xmit()[all …]
2576 tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)]; in bnx2x_run_loopback()2581 bd_prod = TX_BD(txdata->tx_bd_prod); in bnx2x_run_loopback()2597 bd_prod = TX_BD(NEXT_TX_IDX(bd_prod)); in bnx2x_run_loopback()
1166 start = TX_BD(le16_to_cpu(*txdata->tx_cons_sb) - 10); in bnx2x_panic_dump()1167 end = TX_BD(le16_to_cpu(*txdata->tx_cons_sb) + 245); in bnx2x_panic_dump()1168 for (j = start; j != end; j = TX_BD(j + 1)) { in bnx2x_panic_dump()1177 start = TX_BD(txdata->tx_bd_cons - 10); in bnx2x_panic_dump()1178 end = TX_BD(txdata->tx_bd_cons + 254); in bnx2x_panic_dump()1179 for (j = start; j != end; j = TX_BD(j + 1)) { in bnx2x_panic_dump()
660 #define TX_BD(x) ((x) & MAX_TX_BD) macro