]> git.droids-corp.org - dpdk.git/blobdiff - lib/mempool/rte_mempool.h
app/crypto-perf: support lookaside IPsec
[dpdk.git] / lib / mempool / rte_mempool.h
index 300dbdea4a0cacc2e7537b8bd49acf211ed2a986..1e7a3c15273c5e869b1258f4ec841ab3d02a2e53 100644 (file)
@@ -291,6 +291,15 @@ struct rte_mempool {
 /** Internal: no object from the pool can be used for device IO (DMA). */
 #define RTE_MEMPOOL_F_NON_IO           0x0040
 
+/**
+ * This macro lists all the mempool flags an application may request.
+ */
+#define RTE_MEMPOOL_VALID_USER_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_NO_IOVA_CONTIG \
+       )
 /**
  * @internal When debug is enabled, store some statistics.
  *