036d82365e
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: 4b5062755aa7 ("mempool: allow user-owned cache") Fixes: 656f2d3ede96 ("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>
71 lines
1.7 KiB
Plaintext
71 lines
1.7 KiB
Plaintext
DPDK_20.0 {
|
|
global:
|
|
|
|
rte_mempool_audit;
|
|
rte_mempool_avail_count;
|
|
rte_mempool_cache_create;
|
|
rte_mempool_cache_free;
|
|
rte_mempool_calc_obj_size;
|
|
rte_mempool_check_cookies;
|
|
rte_mempool_contig_blocks_check_cookies;
|
|
rte_mempool_create;
|
|
rte_mempool_create_empty;
|
|
rte_mempool_dump;
|
|
rte_mempool_free;
|
|
rte_mempool_in_use_count;
|
|
rte_mempool_list_dump;
|
|
rte_mempool_lookup;
|
|
rte_mempool_mem_iter;
|
|
rte_mempool_obj_iter;
|
|
rte_mempool_op_calc_mem_size_default;
|
|
rte_mempool_op_populate_default;
|
|
rte_mempool_ops_table;
|
|
rte_mempool_populate_anon;
|
|
rte_mempool_populate_default;
|
|
rte_mempool_populate_iova;
|
|
rte_mempool_populate_virt;
|
|
rte_mempool_register_ops;
|
|
rte_mempool_set_ops_byname;
|
|
rte_mempool_walk;
|
|
|
|
local: *;
|
|
};
|
|
|
|
EXPERIMENTAL {
|
|
global:
|
|
|
|
# added in 18.05
|
|
rte_mempool_ops_get_info;
|
|
|
|
# added in 19.11
|
|
rte_mempool_get_page_size;
|
|
rte_mempool_op_calc_mem_size_helper;
|
|
rte_mempool_op_populate_helper;
|
|
|
|
# added in 20.05
|
|
__rte_mempool_trace_ops_dequeue_bulk;
|
|
__rte_mempool_trace_ops_dequeue_contig_blocks;
|
|
__rte_mempool_trace_ops_enqueue_bulk;
|
|
__rte_mempool_trace_generic_put;
|
|
__rte_mempool_trace_put_bulk;
|
|
__rte_mempool_trace_generic_get;
|
|
__rte_mempool_trace_get_bulk;
|
|
__rte_mempool_trace_get_contig_blocks;
|
|
__rte_mempool_trace_create;
|
|
__rte_mempool_trace_create_empty;
|
|
__rte_mempool_trace_free;
|
|
__rte_mempool_trace_populate_iova;
|
|
__rte_mempool_trace_populate_virt;
|
|
__rte_mempool_trace_populate_default;
|
|
__rte_mempool_trace_populate_anon;
|
|
__rte_mempool_trace_cache_create;
|
|
__rte_mempool_trace_cache_free;
|
|
__rte_mempool_trace_default_cache;
|
|
__rte_mempool_trace_get_page_size;
|
|
__rte_mempool_trace_cache_flush;
|
|
__rte_mempool_trace_ops_populate;
|
|
__rte_mempool_trace_ops_alloc;
|
|
__rte_mempool_trace_ops_free;
|
|
__rte_mempool_trace_set_ops_byname;
|
|
};
|