Home
last modified time | relevance | path

Searched refs:HME_TMDMAX (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c2325 if ((hmep->hme_txindex - HME_TMDMAX) == hmep->hme_txreclaim) in hmestart()
2327 txptr = hmep->hme_txindex % HME_TMDMAX; in hmestart()
2488 bzero(hmep->hme_tmdp, HME_TMDMAX * sizeof (struct hme_tmd)); in hmeinit()
2647 PUT_ETXREG(txring_size, ((HME_TMDMAX -1)>> HMET_RINGSZ_SHIFT)); in hmeinit()
2857 hmep->hme_tbuf = kmem_zalloc(HME_TMDMAX * sizeof (hmebuf_t), KM_SLEEP); in hmeallocbufs()
2869 for (int i = 0; i < HME_TMDMAX; i++) { in hmeallocbufs()
2892 for (i = 0; i < HME_TMDMAX; i++) { in hmefreebufs()
2917 kmem_free(hmep->hme_tbuf, HME_TMDMAX * sizeof (hmebuf_t)); in hmefreebufs()
3000 size = HME_TMDMAX * sizeof (struct hme_rmd); in hmeallocthings()
3209 reclaim = hmep->hme_txreclaim % HME_TMDMAX; in hmereclaim()
H A Dhme_mac.h40 #define HME_TMDMAX (64) /* Transmit descriptor ring size */ macro