Home
last modified time | relevance | path

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

/dpdk/lib/ring/
H A Drte_ring_elem_pvt.h62 uint32_t idx = prod_head & r->mask; in __rte_ring_enqueue_elems_64()
95 uint32_t idx = prod_head & r->mask; in __rte_ring_enqueue_elems_128()
123 __rte_ring_enqueue_elems(struct rte_ring *r, uint32_t prod_head, in __rte_ring_enqueue_elems() argument
130 __rte_ring_enqueue_elems_64(r, prod_head, obj_table, num); in __rte_ring_enqueue_elems()
132 __rte_ring_enqueue_elems_128(r, prod_head, obj_table, num); in __rte_ring_enqueue_elems()
139 idx = prod_head & r->mask; in __rte_ring_enqueue_elems()
196 uint32_t idx = prod_head & r->mask; in __rte_ring_dequeue_elems_64()
229 uint32_t idx = prod_head & r->mask; in __rte_ring_dequeue_elems_128()
320 uint32_t prod_head, prod_next; in __rte_ring_do_enqueue_elem() local
324 &prod_head, &prod_next, &free_entries); in __rte_ring_do_enqueue_elem()
[all …]
/dpdk/doc/guides/prog_guide/
H A Dring_lib.rst94 The figures of the following sections refer to them as prod_head, prod_tail, cons_head and cons_tai…
104 In this example, only the producer head and tail (prod_head and prod_tail) are modified,
107 The initial state is to have a prod_head and prod_tail pointing at the same location.
112 First, *ring->prod_head* and ring->cons_tail are copied in local variables.
211 In this example, only the producer head and tail (prod_head and prod_tail) are modified.
213 The initial state is to have a prod_head and prod_tail pointing at the same location.
218 On both cores, *ring->prod_head* and ring->cons_tail are copied in local variables.
238 * If ring->prod_head is different to local variable prod_head,
241 * Otherwise, ring->prod_head is set to local prod_next,
273 A core can only update it if ring->prod_tail is equal to the prod_head local variable.
[all …]