X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fring%2Frte_ring_core.h;h=1252ca9546cb225faf6909291df187fe5ee2d4f7;hb=97ed4cb6fb324f4277ee754d4b6f3c7a0d96400b;hp=16718ca7f104238b9fc260bbe98e5ff73f90ccca;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/ring/rte_ring_core.h b/lib/ring/rte_ring_core.h index 16718ca7f1..1252ca9546 100644 --- a/lib/ring/rte_ring_core.h +++ b/lib/ring/rte_ring_core.h @@ -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 or @@ -26,7 +26,6 @@ extern "C" { #include #include #include -#include #include #include #include @@ -57,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 }; /** @@ -121,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;