gpudev: fix page alignment in communication list
[dpdk.git] / lib / ring / rte_ring_core.h
index 43ce1a2..1252ca9 100644 (file)
@@ -12,7 +12,7 @@
 
 /**
  * @file
- * This file contains definion of RTE ring structure itself,
+ * This file contains definition of RTE ring structure itself,
  * init flags and some related macros.
  * For majority of DPDK entities, it is not recommended to include
  * this file directly, use include <rte_ring.h> or <rte_ring_elem.h>
@@ -56,10 +56,8 @@ enum rte_ring_queue_behavior {
 enum rte_ring_sync_type {
        RTE_RING_SYNC_MT,     /**< multi-thread safe (default mode) */
        RTE_RING_SYNC_ST,     /**< single thread only */
-#ifdef ALLOW_EXPERIMENTAL_API
        RTE_RING_SYNC_MT_RTS, /**< multi-thread relaxed tail sync */
        RTE_RING_SYNC_MT_HTS, /**< multi-thread head/tail sync */
-#endif
 };
 
 /**
@@ -120,12 +118,7 @@ struct rte_ring_hts_headtail {
  * a problem.
  */
 struct rte_ring {
-       /*
-        * Note: this field kept the RTE_MEMZONE_NAMESIZE size due to ABI
-        * compatibility requirements, it could be changed to RTE_RING_NAMESIZE
-        * next time the ABI changes
-        */
-       char name[RTE_MEMZONE_NAMESIZE] __rte_cache_aligned;
+       char name[RTE_RING_NAMESIZE] __rte_cache_aligned;
        /**< Name of the ring. */
        int flags;               /**< Flags supplied at creation. */
        const struct rte_memzone *memzone;