mempool: use the list to audit all elements
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 18 May 2016 11:04:31 +0000 (13:04 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 May 2016 12:40:13 +0000 (14:40 +0200)
commit3d7e7f026efe919b95a4f860e687b72919e7ae60
tree73aa0b3d11f0fbc0a2ac54a25395e983f4c92e44
parentd86046f0cf50fb3fdd48ba9f6730c7c9fc2ad831
mempool: use the list to audit all elements

Use the new rte_mempool_obj_iter() instead the old rte_mempool_obj_iter()
to iterate among objects to audit them (check for cookies).

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