Hello Benjamin, On 05/16/2016 09:56 PM, Walker, Benjamin wrote: > On Mon, 2016-05-16 at 16:57 +0000, Wiles, Keith wrote: >>> >>> There is no inverse of rte_mempool_create, so this patch adds one. >>> The typical usage of rte_mempool_create is to create a pool at >>> initialization time and only to free it upon program exit, so an >>> rte_mempool_free function at first seems to be of little value. >>> However, it is very useful as a sanity check for a clean shutdown >>> when used in conjunction with tools like AddressSanitizer. Further, >>> the call itself verifies that all elements have been returned to >>> the pool or it fails. >>> >>> Signed-off-by: Ben Walker <benjamin.walker at intel.com>
I already submitted a patch introducing a similar feature. Please see: http://dpdk.org/dev/patchwork/patch/12062/ It is part of a larger patchset: http://dpdk.org/ml/archives/dev/2016-April/037464.html Regards, Olivier