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()397 n_slots--; in eth_memif_rx()424 while (n_slots--) { in eth_memif_rx()480 n_slots = last_slot - cur_slot; in eth_memif_rx_zc()482 while (n_slots && n_rx_pkts < nb_pkts) { in eth_memif_rx_zc()501 n_slots--; in eth_memif_rx_zc()528 n_slots = ring_size - head + mq->last_tail; in eth_memif_rx_zc()530 if (n_slots < 32) in eth_memif_rx_zc()537 while (n_slots--) { in eth_memif_rx_zc()[all …]
974 unsigned int n_slots; in alloc_slot() local981 n_slots = rte_ring_mc_dequeue_burst_elem(h->free_slots, in alloc_slot()985 if (n_slots == 0) in alloc_slot()988 cached_free_slots->len += n_slots; in alloc_slot()1451 unsigned lcore_id, n_slots; in free_slot() local1461 n_slots = rte_ring_mp_enqueue_burst_elem(h->free_slots, in free_slot()1465 RETURN_IF_TRUE((n_slots == 0), -EFAULT); in free_slot()1466 cached_free_slots->len -= n_slots; in free_slot()