txbd
volatile struct txbd *txq_consumer;
volatile struct txbd *txq_producer;
volatile struct txbd *txq_first;
volatile struct txbd *txq_last;
volatile struct txbd *txbd,
(txbd - txq->txq_first) * sizeof(*txbd), count * sizeof(*txbd),
volatile struct txbd *txbd,
(txbd - txq->txq_first) * sizeof(*txbd), count * sizeof(*txbd),
size_t desc_count = map_size / sizeof(struct txbd);
volatile struct txbd *producer = txq->txq_producer;
volatile struct txbd *start = producer + 1;
volatile struct txbd *consumer = txq->txq_consumer;
volatile struct txbd *txbd;
for (txbd = txq->txq_first; txbd < txq->txq_last - 1; txbd++) {
txbd->txbd_flags = 0;
txbd->txbd_flags = TXBD_W;
struct tx_bd *txbd;
txbd = &sc->tx_bd_chain[i][USABLE_TX_BD_PER_PAGE];
txbd->tx_bd_haddr_lo = addr;
txbd->tx_bd_haddr_hi = addr;
struct tx_bd *txbd = NULL;
DBRUNIF(1, txbd = &sc->tx_bd_chain
DBRUNIF((txbd == NULL),
bnx_dump_txbd(sc, sw_tx_chain_cons, txbd));
struct tx_bd *txbd = NULL;
txbd = &sc->tx_bd_chain[TX_PAGE(chain_prod)][TX_IDX(chain_prod)];
txbd->tx_bd_haddr_lo = addr;
txbd->tx_bd_haddr_hi = addr;
txbd->tx_bd_mss_nbytes = map->dm_segs[i].ds_len;
txbd->tx_bd_vlan_tag = vlan_tag;
txbd->tx_bd_flags = flags;
txbd->tx_bd_flags |= TX_BD_FLAGS_START;
txbd->tx_bd_flags |= TX_BD_FLAGS_END;
bnx_dump_txbd(struct bnx_softc *sc, int idx, struct tx_bd *txbd)
"page pointer\n", idx, txbd->tx_bd_haddr_hi,
txbd->tx_bd_haddr_lo);
txbd->tx_bd_haddr_hi, txbd->tx_bd_haddr_lo,
txbd->tx_bd_mss_nbytes, txbd->tx_bd_vlan_tag,
txbd->tx_bd_flags);
struct tx_bd *txbd;
txbd = &sc->tx_bd_chain[TX_PAGE(tx_prod)][TX_IDX(tx_prod)];
bnx_dump_txbd(sc, tx_prod, txbd);