| rte_ring_peek.h(3) | Library Functions Manual | rte_ring_peek.h(3) |
rte_ring_peek.h
#include <rte_ring_peek_elem_pvt.h>
static __rte_always_inline unsigned int
rte_ring_enqueue_bulk_elem_start (struct rte_ring *r, unsigned
int n, unsigned int *free_space)
static __rte_always_inline unsigned int
rte_ring_enqueue_bulk_start (struct rte_ring *r, unsigned int
n, unsigned int *free_space)
static __rte_always_inline unsigned int
rte_ring_enqueue_burst_elem_start (struct rte_ring *r,
unsigned int n, unsigned int *free_space)
static __rte_always_inline unsigned int
rte_ring_enqueue_burst_start (struct rte_ring *r, unsigned int
n, unsigned int *free_space)
static __rte_always_inline void rte_ring_enqueue_elem_finish
(struct rte_ring *r, const void *obj_table, unsigned int esize,
unsigned int n)
static __rte_always_inline void rte_ring_enqueue_finish (struct
rte_ring *r, void *const *obj_table, unsigned int n)
static __rte_always_inline unsigned int
rte_ring_dequeue_bulk_elem_start (struct rte_ring *r, void
*obj_table, unsigned int esize, unsigned int n, unsigned int *available)
static __rte_always_inline unsigned int
rte_ring_dequeue_bulk_start (struct rte_ring *r, void
**obj_table, unsigned int n, unsigned int *available)
static __rte_always_inline unsigned int
rte_ring_dequeue_burst_elem_start (struct rte_ring *r, void
*obj_table, unsigned int esize, unsigned int n, unsigned int *available)
static __rte_always_inline unsigned int
rte_ring_dequeue_burst_start (struct rte_ring *r, void
**obj_table, unsigned int n, unsigned int *available)
static __rte_always_inline void rte_ring_dequeue_elem_finish
(struct rte_ring *r, unsigned int n)
static __rte_always_inline void rte_ring_dequeue_finish (struct
rte_ring *r, unsigned int n)
It is not recommended to include this file directly. Please include <rte_ring_elem.h> instead.
Ring Peek API Introduction of rte_ring with serialized producer/consumer (HTS sync mode) makes possible to split public enqueue/dequeue API into two phases:
Definition in file rte_ring_peek.h.
Start to enqueue several objects on the ring. Note that no actual objects are put in the queue by this function, it just reserves for user such ability. User has to call appropriate enqueue_elem_finish() to copy objects into the queue and complete given enqueue operation.
Parameters
Returns
Definition at line 70 of file rte_ring_peek.h.
Start to enqueue several objects on the ring. Note that no actual objects are put in the queue by this function, it just reserves for user such ability. User has to call appropriate enqueue_finish() to copy objects into the queue and complete given enqueue operation.
Parameters
Returns
Definition at line 95 of file rte_ring_peek.h.
Start to enqueue several objects on the ring. Note that no actual objects are put in the queue by this function, it just reserves for user such ability. User has to call appropriate enqueue_elem_finish() to copy objects into the queue and complete given enqueue operation.
Parameters
Returns
Definition at line 119 of file rte_ring_peek.h.
Start to enqueue several objects on the ring. Note that no actual objects are put in the queue by this function, it just reserves for user such ability. User has to call appropriate enqueue_finish() to copy objects into the queue and complete given enqueue operation.
Parameters
Returns
Definition at line 144 of file rte_ring_peek.h.
Complete to enqueue several objects on the ring. Note that number of objects to enqueue should not exceed previous enqueue_start return value.
Parameters
Definition at line 167 of file rte_ring_peek.h.
Complete to enqueue several objects on the ring. Note that number of objects to enqueue should not exceed previous enqueue_start return value.
Parameters
Definition at line 206 of file rte_ring_peek.h.
Start to dequeue several objects from the ring. Note that user has to call appropriate dequeue_finish() to complete given dequeue operation and actually remove objects the ring.
Parameters
Returns
Definition at line 234 of file rte_ring_peek.h.
Start to dequeue several objects from the ring. Note that user has to call appropriate dequeue_finish() to complete given dequeue operation and actually remove objects the ring.
Parameters
Returns
Definition at line 259 of file rte_ring_peek.h.
Start to dequeue several objects from the ring. Note that user has to call appropriate dequeue_finish() to complete given dequeue operation and actually remove objects the ring.
Parameters
Returns
Definition at line 288 of file rte_ring_peek.h.
Start to dequeue several objects from the ring. Note that user has to call appropriate dequeue_finish() to complete given dequeue operation and actually remove objects the ring.
Parameters
Returns
Definition at line 313 of file rte_ring_peek.h.
Complete to dequeue several objects from the ring. Note that number of objects to dequeue should not exceed previous dequeue_start return value.
Parameters
Definition at line 331 of file rte_ring_peek.h.
Complete to dequeue several objects from the ring. Note that number of objects to dequeue should not exceed previous dequeue_start return value.
Parameters
Definition at line 363 of file rte_ring_peek.h.
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |