/**
* @file
- * @b EXPERIMENTAL: this API may change without prior notice
* It is not recommended to include this file directly.
* Please include <rte_ring_elem.h> instead.
*
* @return
* The number of objects that can be enqueued, either 0 or n
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_enqueue_zc_bulk_elem_start(struct rte_ring *r, unsigned int esize,
unsigned int n, struct rte_ring_zc_data *zcd, unsigned int *free_space)
* @return
* The number of objects that can be enqueued, either 0 or n
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_enqueue_zc_bulk_start(struct rte_ring *r, unsigned int n,
struct rte_ring_zc_data *zcd, unsigned int *free_space)
* @return
* The number of objects that can be enqueued, either 0 or n
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_enqueue_zc_burst_elem_start(struct rte_ring *r, unsigned int esize,
unsigned int n, struct rte_ring_zc_data *zcd, unsigned int *free_space)
* @return
* The number of objects that can be enqueued, either 0 or n.
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_enqueue_zc_burst_start(struct rte_ring *r, unsigned int n,
struct rte_ring_zc_data *zcd, unsigned int *free_space)
* @param n
* The number of objects to add to the ring.
*/
-__rte_experimental
static __rte_always_inline void
rte_ring_enqueue_zc_elem_finish(struct rte_ring *r, unsigned int n)
{
* @param n
* The number of pointers to objects to add to the ring.
*/
-__rte_experimental
static __rte_always_inline void
rte_ring_enqueue_zc_finish(struct rte_ring *r, unsigned int n)
{
* @return
* The number of objects that can be dequeued, either 0 or n.
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_dequeue_zc_bulk_elem_start(struct rte_ring *r, unsigned int esize,
unsigned int n, struct rte_ring_zc_data *zcd, unsigned int *available)
* @return
* The number of objects that can be dequeued, either 0 or n.
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_dequeue_zc_bulk_start(struct rte_ring *r, unsigned int n,
struct rte_ring_zc_data *zcd, unsigned int *available)
* @return
* The number of objects that can be dequeued, either 0 or n.
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_dequeue_zc_burst_elem_start(struct rte_ring *r, unsigned int esize,
unsigned int n, struct rte_ring_zc_data *zcd, unsigned int *available)
* @return
* The number of objects that can be dequeued, either 0 or n.
*/
-__rte_experimental
static __rte_always_inline unsigned int
rte_ring_dequeue_zc_burst_start(struct rte_ring *r, unsigned int n,
struct rte_ring_zc_data *zcd, unsigned int *available)
* @param n
* The number of objects to remove from the ring.
*/
-__rte_experimental
static __rte_always_inline void
rte_ring_dequeue_zc_elem_finish(struct rte_ring *r, unsigned int n)
{
* @param n
* The number of objects to remove from the ring.
*/
-__rte_experimental
static __rte_always_inline void
rte_ring_dequeue_zc_finish(struct rte_ring *r, unsigned int n)
{