Home
last modified time | relevance | path

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

/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c80 #define NET_RX_RING_SIZE __CONST_RING_SIZE(netif_rx, PAGE_SIZE) macro
172 grant_ref_t grant_ref[NET_RX_RING_SIZE + 1];
174 struct mbuf *mbufs[NET_RX_RING_SIZE + 1];
290 return idx & (NET_RX_RING_SIZE - 1); in xn_rxidx()
788 for (i = 0; i <= NET_RX_RING_SIZE; i++) { in setup_rxqs()
795 if (gnttab_alloc_grant_references(NET_RX_RING_SIZE, in setup_rxqs()
1171 req_prod - rxq->ring.rsp_cons < NET_RX_RING_SIZE; in xn_alloc_rx_buffers()
1234 for (i = 0; i < NET_RX_RING_SIZE; i++) { in xn_release_rx_bufs()
1987 for (requeue_idx = 0, i = 0; i < NET_RX_RING_SIZE; i++) { in xn_rebuild_rx_bufs()
/freebsd/sys/dev/xen/netback/
H A Dnetback.c116 #define NET_RX_RING_SIZE __RING_SIZE((netif_rx_sring_t *)0, PAGE_SIZE) macro
1232 if_setsendqlen(ifp, NET_RX_RING_SIZE - 1); in create_netdev()