Home
last modified time | relevance | path

Searched refs:RGE_BUF_SLOTS (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c381 if (rgep->rx_free != RGE_BUF_SLOTS) in rge_reinit_buf_ring()
441 ASSERT(rgep->rx_free == RGE_BUF_SLOTS); in rge_fini_buf_ring()
444 for (slot = 0; slot < RGE_BUF_SLOTS; ++srbdp, ++slot) { in rge_fini_buf_ring()
456 kmem_free(rgep->free_srbds, RGE_BUF_SLOTS * sizeof (sw_rbd_t)); in rge_fini_buf_ring()
594 free_srbdp = kmem_zalloc(RGE_BUF_SLOTS*sizeof (*free_srbdp), KM_SLEEP); in rge_init_buf_ring()
603 rgep->rx_free = RGE_BUF_SLOTS; in rge_init_buf_ring()
604 for (slot = 0; slot < RGE_BUF_SLOTS; slot++) { in rge_init_buf_ring()
757 if (rgep->rx_free == RGE_BUF_SLOTS) in rge_restart()
804 if (rgep->rx_free == RGE_BUF_SLOTS) in rge_m_stop()
1943 rgep->rx_free != RGE_BUF_SLOTS) in rge_detach()
H A Drge_rxtx.c117 rgep->rc_next = NEXT(slot_recy, RGE_BUF_SLOTS); in rge_rx_recycle()
119 if (rgep->rx_bcopy && rgep->rx_free == RGE_BUF_SLOTS) in rge_rx_recycle()
121 ASSERT(rgep->rx_free <= RGE_BUF_SLOTS); in rge_rx_recycle()
148 rgep->rf_next = NEXT(free_slot, RGE_BUF_SLOTS); in rge_rx_refill()
H A Drge.h144 #define RGE_BUF_SLOTS 2048 macro
491 #define TX_COALESC max(RGE_BUF_SLOTS/32LL, 8)