Lines Matching refs:txbd
5541 struct tx_bd *txbd; in bce_init_tx_chain() local
5569 txbd = &sc->tx_bd_chain[i][USABLE_TX_BD_PER_PAGE]; in bce_init_tx_chain()
5577 txbd->tx_bd_haddr_hi = in bce_init_tx_chain()
5579 txbd->tx_bd_haddr_lo = in bce_init_tx_chain()
6812 struct tx_bd *txbd = NULL; in bce_tx_intr() local
6827 DBRUN(txbd = &sc->tx_bd_chain[TX_PAGE(sw_tx_chain_cons)] in bce_tx_intr()
6830 DBRUNIF((txbd == NULL), in bce_tx_intr()
6836 bce_dump_txbd(sc, sw_tx_chain_cons, txbd)); in bce_tx_intr()
6845 DBRUNIF((!(txbd->tx_bd_flags & TX_BD_FLAGS_END)), in bce_tx_intr()
7238 struct tx_bd *txbd = NULL; in bce_tx_encap() local
7364 txbd= &sc->tx_bd_chain[TX_PAGE(chain_prod)] in bce_tx_encap()
7367 txbd->tx_bd_haddr_lo = in bce_tx_encap()
7369 txbd->tx_bd_haddr_hi = in bce_tx_encap()
7371 txbd->tx_bd_mss_nbytes = htole32(mss << 16) | in bce_tx_encap()
7373 txbd->tx_bd_vlan_tag = htole16(vlan_tag); in bce_tx_encap()
7374 txbd->tx_bd_flags = htole16(flags); in bce_tx_encap()
7377 txbd->tx_bd_flags |= htole16(TX_BD_FLAGS_START); in bce_tx_encap()
7382 txbd->tx_bd_flags |= htole16(TX_BD_FLAGS_END); in bce_tx_encap()
9805 bce_dump_txbd(struct bce_softc *sc, int idx, struct tx_bd *txbd) in bce_dump_txbd() argument
9815 "pointer\n", idx, txbd->tx_bd_haddr_hi, in bce_dump_txbd()
9816 txbd->tx_bd_haddr_lo); in bce_dump_txbd()
9821 "0x%04X (", idx, txbd->tx_bd_haddr_hi, in bce_dump_txbd()
9822 txbd->tx_bd_haddr_lo, txbd->tx_bd_mss_nbytes, in bce_dump_txbd()
9823 txbd->tx_bd_vlan_tag, txbd->tx_bd_flags); in bce_dump_txbd()
9825 if (txbd->tx_bd_flags & TX_BD_FLAGS_CONN_FAULT) { in bce_dump_txbd()
9832 if (txbd->tx_bd_flags & TX_BD_FLAGS_TCP_UDP_CKSUM) { in bce_dump_txbd()
9839 if (txbd->tx_bd_flags & TX_BD_FLAGS_IP_CKSUM) { in bce_dump_txbd()
9846 if (txbd->tx_bd_flags & TX_BD_FLAGS_VLAN_TAG) { in bce_dump_txbd()
9853 if (txbd->tx_bd_flags & TX_BD_FLAGS_COAL_NOW) { in bce_dump_txbd()
9860 if (txbd->tx_bd_flags & TX_BD_FLAGS_DONT_GEN_CRC) { in bce_dump_txbd()
9867 if (txbd->tx_bd_flags & TX_BD_FLAGS_START) { in bce_dump_txbd()
9874 if (txbd->tx_bd_flags & TX_BD_FLAGS_END) { in bce_dump_txbd()
9881 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_LSO) { in bce_dump_txbd()
9888 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_OPTION_WORD) { in bce_dump_txbd()
9891 printf("SW_OPTION=%d", ((txbd->tx_bd_flags & in bce_dump_txbd()
9895 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_FLAGS) { in bce_dump_txbd()
9902 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_SNAP) { in bce_dump_txbd()
10352 struct tx_bd *txbd; in bce_dump_tx_chain() local
10373 txbd = &sc->tx_bd_chain[TX_PAGE(tx_prod)][TX_IDX(tx_prod)]; in bce_dump_tx_chain()
10374 bce_dump_txbd(sc, tx_prod, txbd); in bce_dump_tx_chain()