mempool: uninline function to check cookies
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 18 May 2016 11:04:24 +0000 (13:04 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 May 2016 12:40:12 +0000 (14:40 +0200)
commit8dcb12707e4127335c2bd26ddf597d284feba99a
tree2978039bf3b78c92ff338f4c41d3c71d00ce013a
parent57ba4f5f95630c8dd1c6e46e25d1f16f43253714
mempool: uninline function to check cookies

There's no reason to keep this function inlined. Move it to
rte_mempool.c. We need to export the function for when compiling
with shared libraries + debug. We also need to keep the macro,
because we don't want to call an empty function when debug is
disabled.

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