SMTE_NRXDESC
for (i = 0; i < SMTE_NRXDESC; i++) {
if (frag == (SMTE_NRXDESC - 1))
for (slots = if_rxr_get(&sc->sc_rx_ring, SMTE_NRXDESC);
if (sc->sc_rx_prod == (SMTE_NRXDESC - 1))
if (sc->sc_rx_prod == (SMTE_NRXDESC - 1))
KASSERT(idx < SMTE_NRXDESC);
if (sc->sc_rx_cons == (SMTE_NRXDESC - 1))
SMTE_NRXDESC * sizeof(struct smte_desc), 8);
sc->sc_rxbuf = malloc(sizeof(struct smte_buf) * SMTE_NRXDESC,
for (i = 0; i < SMTE_NRXDESC; i++) {
if_rxr_init(&sc->sc_rx_ring, 2, SMTE_NRXDESC);