Searched refs:last_slot (Results 1 – 1 of 1) sorted by relevance
| /f-stack/dpdk/drivers/net/memif/ |
| H A D | rte_eth_memif.c | 301 uint16_t cur_slot, last_slot, n_slots, ring_size, mask, s0; in eth_memif_rx() local 335 last_slot = __atomic_load_n(&ring->head, __ATOMIC_ACQUIRE); in eth_memif_rx() 338 last_slot = __atomic_load_n(&ring->tail, __ATOMIC_ACQUIRE); in eth_memif_rx() 341 if (cur_slot == last_slot) in eth_memif_rx() 343 n_slots = last_slot - cur_slot; in eth_memif_rx() 443 uint16_t cur_slot, last_slot, n_slots, ring_size, mask, s0, head; in eth_memif_rx_zc() local 474 last_slot = __atomic_load_n(&ring->tail, __ATOMIC_ACQUIRE); in eth_memif_rx_zc() 475 if (cur_slot == last_slot) in eth_memif_rx_zc() 477 n_slots = last_slot - cur_slot; in eth_memif_rx_zc()
|