TX_ENTRIES
if ((TX_ENTRIES - cnt) < 4)
if ((cnt + frag) >= (TX_ENTRIES - 4)) {
if (++prod == TX_ENTRIES)
KASSERT(cnt < (TX_ENTRIES - 4), ("too many frag"));
KASSERT(cnt < (TX_ENTRIES - 4), ("too many frag"));
if (++prod == TX_ENTRIES) {
ifq_set_maxlen(&ifp->if_snd, TX_ENTRIES);
if (++cons == TX_ENTRIES) {
boot->br_txhipri_siz = TX_ENTRIES * sizeof(struct txp_tx_desc);
boot->br_txlopri_siz = TX_ENTRIES * sizeof(struct txp_tx_desc);
struct txp_tx_desc txp_txhiring[TX_ENTRIES];
struct txp_tx_desc txp_txloring[TX_ENTRIES];
struct txp_swdesc sc_txd[TX_ENTRIES];