5 #ifndef _RING_PRIVATE_H_
6 #define _RING_PRIVATE_H_
25 enum cne_ring_queue_behavior {
26 CNE_RING_QUEUE_FIXED_ITEMS = 0,
27 CNE_RING_QUEUE_VARIABLE_ITEMS
31 struct cne_ring_headtail {
32 CNE_ATOMIC(uint_least32_t) head;
33 CNE_ATOMIC(uint_least32_t) tail;
58 struct cne_ring_headtail prod __cne_cache_aligned;
62 struct cne_ring_headtail cons __cne_cache_aligned;
#define __cne_cache_aligned
#define CNE_RING_NAMESIZE