X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_mempool%2Frte_mempool_ops.c;fp=lib%2Flibrte_mempool%2Frte_mempool_ops.c;h=22c5251eb0687ac072543ccb6d64919d4556f7dd;hb=d9339d20e14f6cc19fe8cad4df3ab26a7c444772;hp=e02eb702ca3ab84fd3f8261383fc43060d72c293;hpb=c68fddf7a1879e40ebfe43e9b03e79f40b8619c5;p=dpdk.git diff --git a/lib/librte_mempool/rte_mempool_ops.c b/lib/librte_mempool/rte_mempool_ops.c index e02eb702ca..22c5251eb0 100644 --- a/lib/librte_mempool/rte_mempool_ops.c +++ b/lib/librte_mempool/rte_mempool_ops.c @@ -100,7 +100,9 @@ rte_mempool_ops_get_count(const struct rte_mempool *mp) return ops->get_count(mp); } -/* wrapper to notify new memory area to external mempool */ +/* wrapper to calculate the memory size required to store given number + * of objects + */ ssize_t rte_mempool_ops_calc_mem_size(const struct rte_mempool *mp, uint32_t obj_num, uint32_t pg_shift,