RGE_BUF_SLOTS
#define TX_COALESC max(RGE_BUF_SLOTS/32LL, 8)
rgep->rx_free != RGE_BUF_SLOTS)
if (rgep->rx_free != RGE_BUF_SLOTS)
ASSERT(rgep->rx_free == RGE_BUF_SLOTS);
for (slot = 0; slot < RGE_BUF_SLOTS; ++srbdp, ++slot) {
kmem_free(rgep->free_srbds, RGE_BUF_SLOTS * sizeof (sw_rbd_t));
free_srbdp = kmem_zalloc(RGE_BUF_SLOTS*sizeof (*free_srbdp), KM_SLEEP);
rgep->rx_free = RGE_BUF_SLOTS;
for (slot = 0; slot < RGE_BUF_SLOTS; slot++) {
if (rgep->rx_free == RGE_BUF_SLOTS)
if (rgep->rx_free == RGE_BUF_SLOTS)
rgep->rc_next = NEXT(slot_recy, RGE_BUF_SLOTS);
if (rgep->rx_bcopy && rgep->rx_free == RGE_BUF_SLOTS)
ASSERT(rgep->rx_free <= RGE_BUF_SLOTS);
rgep->rf_next = NEXT(free_slot, RGE_BUF_SLOTS);