From: Andrew Rybchenko Date: Tue, 19 Oct 2021 17:40:17 +0000 (+0300) Subject: mempool: enhance flags documentation readability X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=925a83a5bf700eda3689b64e040bdbed33cb3fe5;p=dpdk.git mempool: enhance flags documentation readability Move documentation into a separate line just before define. Prepare to have a bit longer flag name because of namespace prefix. Signed-off-by: Andrew Rybchenko Acked-by: Olivier Matz --- diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h index b2e20c8855..ee27f79d63 100644 --- a/lib/mempool/rte_mempool.h +++ b/lib/mempool/rte_mempool.h @@ -250,13 +250,18 @@ struct rte_mempool { #endif } __rte_cache_aligned; +/** Spreading among memory channels not required. */ #define MEMPOOL_F_NO_SPREAD 0x0001 - /**< Spreading among memory channels not required. */ -#define MEMPOOL_F_NO_CACHE_ALIGN 0x0002 /**< Do not align objs on cache lines.*/ -#define MEMPOOL_F_SP_PUT 0x0004 /**< Default put is "single-producer".*/ -#define MEMPOOL_F_SC_GET 0x0008 /**< Default get is "single-consumer".*/ -#define MEMPOOL_F_POOL_CREATED 0x0010 /**< Internal: pool is created. */ -#define MEMPOOL_F_NO_IOVA_CONTIG 0x0020 /**< Don't need IOVA contiguous objs. */ +/** Do not align objects on cache lines. */ +#define MEMPOOL_F_NO_CACHE_ALIGN 0x0002 +/** Default put is "single-producer". */ +#define MEMPOOL_F_SP_PUT 0x0004 +/** Default get is "single-consumer". */ +#define MEMPOOL_F_SC_GET 0x0008 +/** Internal: pool is created. */ +#define MEMPOOL_F_POOL_CREATED 0x0010 +/** Don't need IOVA contiguous objects. */ +#define MEMPOOL_F_NO_IOVA_CONTIG 0x0020 /** Internal: no object from the pool can be used for device IO (DMA). */ #define MEMPOOL_F_NON_IO 0x0040