]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mempool/rte_mempool.h
mempool: get memory size with unspecified page size
[dpdk.git] / lib / librte_mempool / rte_mempool.h
index 0f900a1bde83263854d93286b339b8c4feac0332..53275e44ba23797d5aca67c0906caca3b8ebc387 100644 (file)
@@ -1261,7 +1261,7 @@ uint32_t rte_mempool_calc_obj_size(uint32_t elt_size, uint32_t flags,
  *   The size of each element, including header and trailer, as returned
  *   by rte_mempool_calc_obj_size().
  * @param pg_shift
- *   LOG2 of the physical pages size.
+ *   LOG2 of the physical pages size. If set to 0, ignore page boundaries.
  * @return
  *   Required memory size aligned at page boundary.
  */