Lines Matching defs:NET_TX_RING_SIZE
97 #define NET_TX_RING_SIZE __RING_SIZE((netif_tx_sring_t *)0, PAGE_SIZE)
205 struct mbuf *xn_tx_chain[NET_TX_RING_SIZE+1];
272 grant_ref_t grant_tx_ref[NET_TX_RING_SIZE + 1];
274 grant_ref_t grant_rx_ref[NET_TX_RING_SIZE + 1];
734 for (i = 0; i < NET_TX_RING_SIZE; i++) {
763 for (i = 1; i <= NET_TX_RING_SIZE; i++) {
770 * less than NET_TX_RING_SIZE. Any entry
774 if (((uintptr_t)m) <= NET_TX_RING_SIZE)
1140 KASSERT((uintptr_t)m > NET_TX_RING_SIZE,
1187 ((np->tx.sring->req_prod - prod) < NET_TX_RING_SIZE)) {
1550 KASSERT((sc->xn_cdata.xn_tx_chain_cnt + nfrags) <= NET_TX_RING_SIZE,
1551 ("%s: xn_tx_chain_cnt (%d) + nfrags (%d) > NET_TX_RING_SIZE "
1553 (int) nfrags, (int) NET_TX_RING_SIZE));
1575 if (sc->xn_cdata.xn_tx_chain_cnt > NET_TX_RING_SIZE)
1576 panic("%s: tx_chain_cnt must be <= NET_TX_RING_SIZE\n",
2058 for (i = 0; i <= NET_TX_RING_SIZE; i++) {
2062 np->tx_mbufs[NET_TX_RING_SIZE] = (void *)0;
2070 if (gnttab_alloc_grant_references(NET_TX_RING_SIZE,
2101 ifp->if_snd.ifq_maxlen = NET_TX_RING_SIZE - 1;