Searched refs:cons_head (Results 1 – 2 of 2) sorted by relevance
| /dpdk/lib/ring/ |
| H A D | rte_ring_elem_pvt.h | 253 __rte_ring_dequeue_elems(struct rte_ring *r, uint32_t cons_head, in __rte_ring_dequeue_elems() argument 260 __rte_ring_dequeue_elems_64(r, cons_head, obj_table, num); in __rte_ring_dequeue_elems() 262 __rte_ring_dequeue_elems_128(r, cons_head, obj_table, num); in __rte_ring_dequeue_elems() 269 idx = cons_head & r->mask; in __rte_ring_dequeue_elems() 367 uint32_t cons_head, cons_next; in __rte_ring_do_dequeue_elem() local 371 &cons_head, &cons_next, &entries); in __rte_ring_do_dequeue_elem() 375 __rte_ring_dequeue_elems(r, cons_head, obj_table, esize, n); in __rte_ring_do_dequeue_elem() 377 __rte_ring_update_tail(&r->cons, cons_head, cons_next, is_sc, 0); in __rte_ring_do_dequeue_elem()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | ring_lib.rst | 94 The figures of the following sections refer to them as prod_head, prod_tail, cons_head and cons_tai… 158 In this example, only the consumer head and tail (cons_head and cons_tail) are modified and there i… 160 The initial state is to have a cons_head and cons_tail pointing at the same location. 165 First, ring->cons_head and ring->prod_tail are copied in local variables. 181 The second step is to modify ring->cons_head in the ring structure to point to the same location as… 196 …ring->cons_tail in the ring structure is modified to point to the same location as ring->cons_head. 301 In the preceding figures, the prod_head, prod_tail, cons_head and cons_tail indexes are represented… 349 uint32_t entries = (prod_tail - cons_head);
|