yge_buf_t
sizeof (yge_buf_t) * YGE_TX_RING_CNT);
sizeof (yge_buf_t) * YGE_RX_RING_CNT);
yge_alloc_buf(yge_port_t *port, yge_buf_t *b, size_t bufsz, int flag)
yge_free_buf(yge_buf_t *b)
yge_buf_t *b;
yge_buf_t *b;
yge_buf_t *txb;
yge_buf_t *rxb;
yge_buf_t *rxb;
port->p_tx_buf = kmem_zalloc(sizeof (yge_buf_t) * YGE_TX_RING_CNT,
port->p_rx_buf = kmem_zalloc(sizeof (yge_buf_t) * YGE_RX_RING_CNT,
yge_buf_t *p_tx_buf;
yge_buf_t *p_rx_buf;