numam-dpdk/lib/librte_mempool
Fady Bader 036d82365e mempool: remove inline functions from export list
The code didn't compile when using exported mempool functions
under Windows.

compilation error logs:
rte_mempool_exports.def : error LNK2001:
unresolved external symbol rte_mempool_cache_flush
rte_mempool_exports.def : error LNK2001:
unresolved external symbol rte_mempool_default_cache
rte_mempool_exports.def : error LNK2001:
unresolved external symbol rte_mempool_generic_get
rte_mempool_exports.def : error LNK2001:
unresolved external symbol rte_mempool_generic_put
lib\librte_mempool.dll.a : fatal error LNK1120: 4 unresolved externals
clang: error: linker command failed with exit code 1120 (use -v to see invocation)

The cause was that there were some inline functions that were included
in the export list.
To solve this the functions, which are implemented in the header
and shouldn't be exported, were removed from rte_mempool_version.map
export list.

Fixes: 4b5062755a ("mempool: allow user-owned cache")
Fixes: 656f2d3ede ("mempool: deprecate specific get and put functions")
Cc: stable@dpdk.org

Signed-off-by: Fady Bader <fady@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2020-04-24 18:11:49 +02:00
..
Makefile mempool: add tracepoints 2020-04-23 15:40:11 +02:00
mempool_trace_points.c mempool: add tracepoints 2020-04-23 15:40:11 +02:00
meson.build mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_ops_default.c mempool: use specific macro for object alignment 2019-11-06 11:34:19 +01:00
rte_mempool_ops.c mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_trace_fp.h mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_trace.h mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_version.map mempool: remove inline functions from export list 2020-04-24 18:11:49 +02:00
rte_mempool.c mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool.h mempool: add tracepoints 2020-04-23 15:40:11 +02:00