Searched refs:YGE_TX_RING_CNT (Results 1 – 2 of 2) sorted by relevance
918 port->p_tx_buf = kmem_zalloc(sizeof (yge_buf_t) * YGE_TX_RING_CNT, in yge_init_port()1401 sizeof (yge_buf_t) * YGE_TX_RING_CNT); in yge_uninit_port()1603 rv = yge_alloc_ring(port, NULL, &port->p_tx_ring, YGE_TX_RING_CNT); in yge_txrx_dma_alloc()1610 for (i = 0; i < YGE_TX_RING_CNT; i++) { in yge_txrx_dma_alloc()1652 for (int i = 0; i < YGE_TX_RING_CNT; i++, b++) { in yge_txrx_dma_free()1683 (YGE_TX_RING_CNT - YGE_RESERVED_TX_DESC_CNT)) { in yge_send()1699 YGE_INC(prod, YGE_TX_RING_CNT); in yge_send()1887 for (; cons != idx; YGE_INC(cons, YGE_TX_RING_CNT)) { in yge_txeof_locked()
2022 #define YGE_TX_RING_CNT 256 macro2024 #define YGE_STAT_RING_CNT (YGE_TX_RING_CNT + YGE_RX_RING_CNT)