Lines Matching refs:txd
912 struct txp_tx_desc *txd = r->r_desc + cons;
925 if ((txd->tx_flags & TX_FLAGS_TYPE_M) ==
927 KASSERT(txd->tx_addrlo < TX_ENTRIES);
928 sd = &sc->sc_txd[txd->tx_addrlo];
937 txd->tx_addrlo = 0;
938 txd->tx_addrhi = 0;
945 txd = r->r_desc;
948 txd++;
1447 struct txp_tx_desc *txd;
1524 txd = r->r_desc + prod;
1526 txd->tx_flags = TX_FLAGS_TYPE_DATA;
1527 txd->tx_numdesc = 0;
1528 txd->tx_addrlo = txp_txd_idx(sc, sd);
1529 txd->tx_addrhi = 0;
1530 txd->tx_totlen = m->m_pkthdr.len;
1531 txd->tx_pflags = 0;
1532 txd->tx_numdesc = sd->sd_map->dm_nsegs;
1539 txd->tx_pflags = TX_PFLAGS_VLAN |
1543 txd->tx_pflags |= TX_PFLAGS_IPCKSUM;
1546 txd->tx_pflags |= TX_PFLAGS_TCPCKSUM;
1550 txd->tx_pflags |= TX_PFLAGS_UDPCKSUM;
1585 txd->tx_flags |= TX_FLAGS_VALID;
1595 printf("txd: flags 0x%x ndesc %d totlen %d pflags 0x%x\n",
1596 txd->tx_flags, txd->tx_numdesc, txd->tx_totlen,
1597 txd->tx_pflags);
1935 struct txp_tx_desc *txd = d;
1959 txd->tx_flags, txd->tx_numdesc, txd->tx_totlen,
1960 txd->tx_addrlo, txd->tx_addrhi, txd->tx_pflags);