YGE_TX_RING_CNT
sizeof (yge_buf_t) * YGE_TX_RING_CNT);
rv = yge_alloc_ring(port, NULL, &port->p_tx_ring, YGE_TX_RING_CNT);
for (i = 0; i < YGE_TX_RING_CNT; i++) {
for (int i = 0; i < YGE_TX_RING_CNT; i++, b++) {
(YGE_TX_RING_CNT - YGE_RESERVED_TX_DESC_CNT)) {
YGE_INC(prod, YGE_TX_RING_CNT);
for (; cons != idx; YGE_INC(cons, YGE_TX_RING_CNT)) {
port->p_tx_buf = kmem_zalloc(sizeof (yge_buf_t) * YGE_TX_RING_CNT,
#define YGE_STAT_RING_CNT (YGE_TX_RING_CNT + YGE_RX_RING_CNT)