]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mempool/rte_mempool.h
mempool: detect physical contiguous objects
[dpdk.git] / lib / librte_mempool / rte_mempool.h
index d251d4255b4902a9c17e647c21b085be2f4c2c7e..7343925568a5c1344b0a04a3225692206696a1bc 100644 (file)
@@ -265,6 +265,12 @@ struct rte_mempool {
 #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_PHYS_CONTIG 0x0020 /**< Don't need physically contiguous objs. */
+/**
+ * This capability flag is advertised by a mempool handler, if the whole
+ * memory area containing the objects must be physically contiguous.
+ * Note: This flag should not be passed by application.
+ */
+#define MEMPOOL_F_CAPA_PHYS_CONTIG 0x0040
 
 /**
  * @internal When debug is enabled, store some statistics.