TX_ENTRIES
if (cnt >= TX_ENTRIES - TXP_MAXTXSEGS - 4)
if (++prod == TX_ENTRIES)
if (++prod == TX_ENTRIES) {
ifq_init_maxlen(&ifp->if_snd, TX_ENTRIES);
if (++cons == TX_ENTRIES) {
if (txp_dma_malloc(sc, sizeof(struct txp_tx_desc) * TX_ENTRIES,
bzero(sc->sc_txhiring_dma.dma_vaddr, sizeof(struct txp_tx_desc) * TX_ENTRIES);
boot->br_txhipri_siz = htole32(TX_ENTRIES * sizeof(struct txp_tx_desc));
for (i = 0; i < TX_ENTRIES; i++) {
if (txp_dma_malloc(sc, sizeof(struct txp_tx_desc) * TX_ENTRIES,
bzero(sc->sc_txloring_dma.dma_vaddr, sizeof(struct txp_tx_desc) * TX_ENTRIES);
boot->br_txlopri_siz = htole32(TX_ENTRIES * sizeof(struct txp_tx_desc));
struct txp_swdesc sc_txd[TX_ENTRIES];