On 10/19/21 7:13 PM, Olivier Matz wrote:
On Tue, Oct 19, 2021 at 01:08:41PM +0300, Andrew Rybchenko wrote:
Fix the mempool flgas namespace by adding an RTE_ prefix to the name.

nit: flgas -> flags

Thanks, fixed.


The old flags remain usable, to be deprecated in the future.

Signed-off-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>

(...)

@@ -777,12 +777,12 @@ rte_mempool_cache_free(struct rte_mempool_cache *cache)
        rte_free(cache);
  }
-#define MEMPOOL_KNOWN_FLAGS (MEMPOOL_F_NO_SPREAD \
-       | MEMPOOL_F_NO_CACHE_ALIGN \
-       | MEMPOOL_F_SP_PUT \
-       | MEMPOOL_F_SC_GET \
-       | MEMPOOL_F_POOL_CREATED \
-       | MEMPOOL_F_NO_IOVA_CONTIG \
+#define MEMPOOL_KNOWN_FLAGS (RTE_MEMPOOL_F_NO_SPREAD \
+       | RTE_MEMPOOL_F_NO_CACHE_ALIGN \
+       | RTE_MEMPOOL_F_SP_PUT \
+       | RTE_MEMPOOL_F_SC_GET \
+       | RTE_MEMPOOL_F_POOL_CREATED \
+       | RTE_MEMPOOL_F_NO_IOVA_CONTIG \
        )

I guess MEMPOOL_KNOWN_FLAGS was kept as is on purpose.


Yes, since it is internal and located in .c file.

Reply via email to