mempool: add function to iterate the memory chunks
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 18 May 2016 11:04:37 +0000 (13:04 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 May 2016 12:40:13 +0000 (14:40 +0200)
commitb18e19a892b11f13699c02d0ea82744d9b79aaaf
tree4c243f775d070a0feb160c0d9559a6992fe82a2a
parent84121f1971873c9f45b2939c316c66126d8754a1
mempool: add function to iterate the memory chunks

In the same model than rte_mempool_obj_iter(), introduce
rte_mempool_mem_iter() to iterate the memory chunks attached
to the mempool.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.c
lib/librte_mempool/rte_mempool.h
lib/librte_mempool/rte_mempool_version.map