]> git.droids-corp.org - dpdk.git/commitdiff
mempool: fix comments for no contiguous flag
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 28 Sep 2016 13:59:29 +0000 (14:59 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 4 Oct 2016 09:16:01 +0000 (11:16 +0200)
Fixes: ce94a51ff05c ("mempool: add flag for removing phys contiguous constraint")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.h

index 7a9cc3a45c6f645c0ce96c5c70a71e727d42ea08..e7a10e0f7a814d445b32bc07ae5557ff7c82e77c 100644 (file)
@@ -798,6 +798,10 @@ rte_mempool_free(struct rte_mempool *mp);
  * Add a virtually and physically contiguous memory chunk in the pool
  * where objects can be instanciated.
  *
+ * If the given physical address is unknown (paddr = RTE_BAD_PHYS_ADDR),
+ * the chunk doesn't need to be physically contiguous (only virtually),
+ * and allocated objects may span two pages.
+ *
  * @param mp
  *   A pointer to the mempool structure.
  * @param vaddr