Searched refs:n_slots (Results 1 – 2 of 2) sorted by relevance
343 n_slots = last_slot - cur_slot; in eth_memif_rx()345 while (n_slots && n_rx_pkts < nb_pkts) { in eth_memif_rx()396 n_slots--; in eth_memif_rx()423 while (n_slots--) { in eth_memif_rx()477 n_slots = last_slot - cur_slot; in eth_memif_rx_zc()479 while (n_slots && n_rx_pkts < nb_pkts) { in eth_memif_rx_zc()498 n_slots--; in eth_memif_rx_zc()525 n_slots = ring_size - head + mq->last_tail; in eth_memif_rx_zc()527 if (n_slots < 32) in eth_memif_rx_zc()534 while (n_slots--) { in eth_memif_rx_zc()[all …]
978 unsigned int n_slots; in alloc_slot() local985 n_slots = rte_ring_mc_dequeue_burst_elem(h->free_slots, in alloc_slot()989 if (n_slots == 0) in alloc_slot()992 cached_free_slots->len += n_slots; in alloc_slot()1455 unsigned lcore_id, n_slots; in free_slot() local1465 n_slots = rte_ring_mp_enqueue_burst_elem(h->free_slots, in free_slot()1469 RETURN_IF_TRUE((n_slots == 0), -EFAULT); in free_slot()1470 cached_free_slots->len -= n_slots; in free_slot()