Lines Matching refs:txbd
5623 struct tx_bd *txbd; in bce_init_tx_chain() local
5651 txbd = &sc->tx_bd_chain[i][USABLE_TX_BD_PER_PAGE]; in bce_init_tx_chain()
5659 txbd->tx_bd_haddr_hi = in bce_init_tx_chain()
5661 txbd->tx_bd_haddr_lo = in bce_init_tx_chain()
6921 struct tx_bd *txbd = NULL; in bce_tx_intr() local
6936 DBRUN(txbd = &sc->tx_bd_chain[TX_PAGE(sw_tx_chain_cons)] in bce_tx_intr()
6939 DBRUNIF((txbd == NULL), in bce_tx_intr()
6945 bce_dump_txbd(sc, sw_tx_chain_cons, txbd)); in bce_tx_intr()
6955 DBRUNIF((!(txbd->tx_bd_flags & TX_BD_FLAGS_END)), in bce_tx_intr()
7355 struct tx_bd *txbd = NULL; in bce_tx_encap() local
7482 txbd= &sc->tx_bd_chain[TX_PAGE(chain_prod)] in bce_tx_encap()
7485 txbd->tx_bd_haddr_lo = in bce_tx_encap()
7487 txbd->tx_bd_haddr_hi = in bce_tx_encap()
7489 txbd->tx_bd_mss_nbytes = htole32(mss << 16) | in bce_tx_encap()
7491 txbd->tx_bd_vlan_tag = htole16(vlan_tag); in bce_tx_encap()
7492 txbd->tx_bd_flags = htole16(flags); in bce_tx_encap()
7495 txbd->tx_bd_flags |= htole16(TX_BD_FLAGS_START); in bce_tx_encap()
7500 txbd->tx_bd_flags |= htole16(TX_BD_FLAGS_END); in bce_tx_encap()
9963 bce_dump_txbd(struct bce_softc *sc, int idx, struct tx_bd *txbd) in bce_dump_txbd() argument
9973 "pointer\n", idx, txbd->tx_bd_haddr_hi, in bce_dump_txbd()
9974 txbd->tx_bd_haddr_lo); in bce_dump_txbd()
9979 "0x%04X (", idx, txbd->tx_bd_haddr_hi, in bce_dump_txbd()
9980 txbd->tx_bd_haddr_lo, txbd->tx_bd_mss_nbytes, in bce_dump_txbd()
9981 txbd->tx_bd_vlan_tag, txbd->tx_bd_flags); in bce_dump_txbd()
9983 if (txbd->tx_bd_flags & TX_BD_FLAGS_CONN_FAULT) { in bce_dump_txbd()
9990 if (txbd->tx_bd_flags & TX_BD_FLAGS_TCP_UDP_CKSUM) { in bce_dump_txbd()
9997 if (txbd->tx_bd_flags & TX_BD_FLAGS_IP_CKSUM) { in bce_dump_txbd()
10004 if (txbd->tx_bd_flags & TX_BD_FLAGS_VLAN_TAG) { in bce_dump_txbd()
10011 if (txbd->tx_bd_flags & TX_BD_FLAGS_COAL_NOW) { in bce_dump_txbd()
10018 if (txbd->tx_bd_flags & TX_BD_FLAGS_DONT_GEN_CRC) { in bce_dump_txbd()
10025 if (txbd->tx_bd_flags & TX_BD_FLAGS_START) { in bce_dump_txbd()
10032 if (txbd->tx_bd_flags & TX_BD_FLAGS_END) { in bce_dump_txbd()
10039 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_LSO) { in bce_dump_txbd()
10046 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_OPTION_WORD) { in bce_dump_txbd()
10049 printf("SW_OPTION=%d", ((txbd->tx_bd_flags & in bce_dump_txbd()
10053 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_FLAGS) { in bce_dump_txbd()
10060 if (txbd->tx_bd_flags & TX_BD_FLAGS_SW_SNAP) { in bce_dump_txbd()
10517 struct tx_bd *txbd; in bce_dump_tx_chain() local
10538 txbd = &sc->tx_bd_chain[TX_PAGE(tx_prod)][TX_IDX(tx_prod)]; in bce_dump_tx_chain()
10539 bce_dump_txbd(sc, tx_prod, txbd); in bce_dump_tx_chain()