Lines Matching refs:txbd
5520 struct tx_bd *txbd; in bce_init_tx_chain() local
5548 txbd = &sc->tx_bd_chain[i][USABLE_TX_BD_PER_PAGE]; in bce_init_tx_chain()
5556 txbd->tx_bd_haddr_hi = in bce_init_tx_chain()
5558 txbd->tx_bd_haddr_lo = in bce_init_tx_chain()
6791 struct tx_bd *txbd = NULL; in bce_tx_intr() local
6806 DBRUN(txbd = &sc->tx_bd_chain[TX_PAGE(sw_tx_chain_cons)] in bce_tx_intr()
6809 DBRUNIF((txbd == NULL), in bce_tx_intr()
6815 bce_dump_txbd(sc, sw_tx_chain_cons, txbd)); in bce_tx_intr()
6824 DBRUNIF((!(txbd->tx_bd_flags & TX_BD_FLAGS_END)), in bce_tx_intr()
7218 struct tx_bd *txbd = NULL; in bce_tx_encap() local
7344 txbd= &sc->tx_bd_chain[TX_PAGE(chain_prod)] in bce_tx_encap()
7347 txbd->tx_bd_haddr_lo = in bce_tx_encap()
7349 txbd->tx_bd_haddr_hi = in bce_tx_encap()
7351 txbd->tx_bd_mss_nbytes = htole32(mss << 16) | in bce_tx_encap()
7353 txbd->tx_bd_vlan_tag = htole16(vlan_tag); in bce_tx_encap()
7354 txbd->tx_bd_flags = htole16(flags); in bce_tx_encap()
7357 txbd->tx_bd_flags |= htole16(TX_BD_FLAGS_START); in bce_tx_encap()
7362 txbd->tx_bd_flags |= htole16(TX_BD_FLAGS_END); in bce_tx_encap()
9785 bce_dump_txbd(struct bce_softc *sc, int idx, struct tx_bd *txbd) in bce_dump_txbd() argument
9795 "pointer\n", idx, txbd->tx_bd_haddr_hi, in bce_dump_txbd()
9796 txbd->tx_bd_haddr_lo); in bce_dump_txbd()
9801 "0x%04X (", idx, txbd->tx_bd_haddr_hi, in bce_dump_txbd()
9802 txbd->tx_bd_haddr_lo, txbd->tx_bd_mss_nbytes, in bce_dump_txbd()
9803 txbd->tx_bd_vlan_tag, txbd->tx_bd_flags); in bce_dump_txbd()
9805 if (txbd->tx_bd_flags & TX_BD_FLAGS_CONN_FAULT) { in bce_dump_txbd()
9812 if (txbd->tx_bd_flags & TX_BD_FLAGS_TCP_UDP_CKSUM) { in bce_dump_txbd()
9819 if (txbd->tx_bd_flags & TX_BD_FLAGS_IP_CKSUM) { in bce_dump_txbd()
9826 if (txbd->tx_bd_flags & TX_BD_FLAGS_VLAN_TAG) { in bce_dump_txbd()
9833 if (txbd->tx_bd_flags & TX_BD_FLAGS_COAL_NOW) { in bce_dump_txbd()
9840 if (txbd->tx_bd_flags & TX_BD_FLAGS_DONT_GEN_CRC) { in bce_dump_txbd()
9847 if (txbd->tx_bd_flags & TX_BD_FLAGS_START) { in bce_dump_txbd()
9854 if (txbd->tx_bd_flags & TX_BD_FLAGS_END) { in bce_dump_txbd()
9861 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_LSO) { in bce_dump_txbd()
9868 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_OPTION_WORD) { in bce_dump_txbd()
9871 printf("SW_OPTION=%d", ((txbd->tx_bd_flags & in bce_dump_txbd()
9875 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_FLAGS) { in bce_dump_txbd()
9882 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_SNAP) { in bce_dump_txbd()
10332 struct tx_bd *txbd; in bce_dump_tx_chain() local
10353 txbd = &sc->tx_bd_chain[TX_PAGE(tx_prod)][TX_IDX(tx_prod)]; in bce_dump_tx_chain()
10354 bce_dump_txbd(sc, tx_prod, txbd); in bce_dump_tx_chain()