static__rte_always_inlineunsignedintrte_ring_enqueue_zc_bulk_elem_start(structrte_ring*r,unsignedintesize,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*free_space)[static]
Start to enqueue several objects on the ring. Note that no actual objects are put in the queue by this
function, it just reserves space for the user on the ring. User has to copy objects into the queue using
the returned pointers. User should call rte_ring_enqueue_zc_elem_finish to complete the enqueue
operation.
Parametersr A pointer to the ring structure.
esize The size of ring element, in bytes. It must be a multiple of 4.
n The number of objects to add in the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
free_space If non-NULL, returns the amount of space in the ring after the reservation operation has
finished.
Returns
The number of objects that can be enqueued, either 0 or n
Definition at line 180 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_enqueue_zc_bulk_start(structrte_ring*r,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*free_space)[static]
Start to enqueue several pointers to objects on the ring. Note that no actual pointers are put in the
queue by this function, it just reserves space for the user on the ring. User has to copy pointers to
objects into the queue using the returned pointers. User should call rte_ring_enqueue_zc_finish to
complete the enqueue operation.
Parametersr A pointer to the ring structure.
n The number of objects to add in the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
free_space If non-NULL, returns the amount of space in the ring after the reservation operation has
finished.
Returns
The number of objects that can be enqueued, either 0 or n
Definition at line 210 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_enqueue_zc_burst_elem_start(structrte_ring*r,unsignedintesize,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*free_space)[static]
Start to enqueue several objects on the ring. Note that no actual objects are put in the queue by this
function, it just reserves space for the user on the ring. User has to copy objects into the queue using
the returned pointers. User should call rte_ring_enqueue_zc_elem_finish to complete the enqueue
operation.
Parametersr A pointer to the ring structure.
esize The size of ring element, in bytes. It must be a multiple of 4.
n The number of objects to add in the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
free_space If non-NULL, returns the amount of space in the ring after the reservation operation has
finished.
Returns
The number of objects that can be enqueued, either 0 or n
Definition at line 241 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_enqueue_zc_burst_start(structrte_ring*r,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*free_space)[static]
Start to enqueue several pointers to objects on the ring. Note that no actual pointers are put in the
queue by this function, it just reserves space for the user on the ring. User has to copy pointers to
objects into the queue using the returned pointers. User should call rte_ring_enqueue_zc_finish to
complete the enqueue operation.
Parametersr A pointer to the ring structure.
n The number of objects to add in the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
free_space If non-NULL, returns the amount of space in the ring after the reservation operation has
finished.
Returns
The number of objects that can be enqueued, either 0 or n.
Definition at line 271 of file rte_ring_peek_zc.h.
static__rte_always_inlinevoidrte_ring_enqueue_zc_elem_finish(structrte_ring*r,unsignedintn)[static]
Complete enqueuing several objects on the ring. Note that number of objects to enqueue should not exceed
previous enqueue_start return value.
Parametersr A pointer to the ring structure.
n The number of objects to add to the ring.
Definition at line 289 of file rte_ring_peek_zc.h.
static__rte_always_inlinevoidrte_ring_enqueue_zc_finish(structrte_ring*r,unsignedintn)[static]
Complete enqueuing several pointers to objects on the ring. Note that number of objects to enqueue should
not exceed previous enqueue_start return value.
Parametersr A pointer to the ring structure.
n The number of pointers to objects to add to the ring.
Definition at line 321 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_dequeue_zc_bulk_elem_start(structrte_ring*r,unsignedintesize,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*available)[static]
Start to dequeue several objects from the ring. Note that no actual objects are copied from the queue by
this function. User has to copy objects from the queue using the returned pointers. User should call
rte_ring_dequeue_zc_elem_finish to complete the dequeue operation.
Parametersr A pointer to the ring structure.
esize The size of ring element, in bytes. It must be a multiple of 4.
n The number of objects to remove from the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
available If non-NULL, returns the number of remaining ring entries after the dequeue has finished.
Returns
The number of objects that can be dequeued, either 0 or n.
Definition at line 387 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_dequeue_zc_bulk_start(structrte_ring*r,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*available)[static]
Start to dequeue several pointers to objects from the ring. Note that no actual pointers are removed from
the queue by this function. User has to copy pointers to objects from the queue using the returned
pointers. User should call rte_ring_dequeue_zc_finish to complete the dequeue operation.
Parametersr A pointer to the ring structure.
n The number of objects to remove from the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
available If non-NULL, returns the number of remaining ring entries after the dequeue has finished.
Returns
The number of objects that can be dequeued, either 0 or n.
Definition at line 416 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_dequeue_zc_burst_elem_start(structrte_ring*r,unsignedintesize,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*available)[static]
Start to dequeue several objects from the ring. Note that no actual objects are copied from the queue by
this function. User has to copy objects from the queue using the returned pointers. User should call
rte_ring_dequeue_zc_elem_finish to complete the dequeue operation.
Parametersr A pointer to the ring structure.
esize The size of ring element, in bytes. It must be a multiple of 4. This must be the same value
used while creating the ring. Otherwise the results are undefined.
n The number of objects to dequeue from the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
available If non-NULL, returns the number of remaining ring entries after the dequeue has finished.
Returns
The number of objects that can be dequeued, either 0 or n.
Definition at line 448 of file rte_ring_peek_zc.h.
static__rte_always_inlineunsignedintrte_ring_dequeue_zc_burst_start(structrte_ring*r,unsignedintn,structrte_ring_zc_data*zcd,unsignedint*available)[static]
Start to dequeue several pointers to objects from the ring. Note that no actual pointers are removed from
the queue by this function. User has to copy pointers to objects from the queue using the returned
pointers. User should call rte_ring_dequeue_zc_finish to complete the dequeue operation.
Parametersr A pointer to the ring structure.
n The number of objects to remove from the ring.
zcd Structure containing the pointers and length of the space reserved on the ring storage.
available If non-NULL, returns the number of remaining ring entries after the dequeue has finished.
Returns
The number of objects that can be dequeued, either 0 or n.
Definition at line 477 of file rte_ring_peek_zc.h.
static__rte_always_inlinevoidrte_ring_dequeue_zc_elem_finish(structrte_ring*r,unsignedintn)[static]
Complete dequeuing several objects from the ring. Note that number of objects to dequeued should not
exceed previous dequeue_start return value.
Parametersr A pointer to the ring structure.
n The number of objects to remove from the ring.
Definition at line 495 of file rte_ring_peek_zc.h.
static__rte_always_inlinevoidrte_ring_dequeue_zc_finish(structrte_ring*r,unsignedintn)[static]
Complete dequeuing several objects from the ring. Note that number of objects to dequeued should not
exceed previous dequeue_start return value.
Parametersr A pointer to the ring structure.
n The number of objects to remove from the ring.
Definition at line 527 of file rte_ring_peek_zc.h.