Home
last modified time | relevance | path

Searched refs:MVNETA_RX_RING_CNT (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/neta/
H A Dif_mvnetavar.h47 #define MVNETA_RX_RING_CNT 256 macro
114 void *rxbuf_virt_addr[MVNETA_RX_RING_CNT];
117 struct mvneta_buf rxbuf[MVNETA_RX_RING_CNT];
191 while (__predict_false(ctr >= MVNETA_RX_RING_CNT)) in rx_counter_adv()
192 ctr -= MVNETA_RX_RING_CNT; in rx_counter_adv()
H A Dif_mvneta.c474 sizeof(struct mvneta_rx_desc) * MVNETA_RX_RING_CNT, /* maxsize */ in mvneta_dma_create()
476 sizeof(struct mvneta_rx_desc) * MVNETA_RX_RING_CNT, /* maxsegsz */ in mvneta_dma_create()
1222 sizeof(struct mvneta_rx_desc) * MVNETA_RX_RING_CNT, in mvneta_ring_alloc_rx_queue()
1227 for (i = 0; i < MVNETA_RX_RING_CNT; i++) { in mvneta_ring_alloc_rx_queue()
1478 for (i = 0; i < MVNETA_RX_RING_CNT; i++) { in mvneta_ring_flush_rx_queue()
1505 reg |= MVNETA_PRXDQS_DESCRIPTORSQUEUESIZE(MVNETA_RX_RING_CNT); in mvneta_rx_queue_init()
3144 refill = MVNETA_RX_RING_CNT - ndesc; in mvneta_rx_queue_refill()
3178 if (refill == MVNETA_RX_RING_CNT) in mvneta_rx_queue_refill()
3368 if (arg->queue < 0 || arg->queue > MVNETA_RX_RING_CNT) in sysctl_set_queue_rxthtime()