numam-dpdk/lib/librte_mempool/rte_mempool_version.map
Olivier Matz d86046f0cf mempool: use the list to iterate the elements
Now that the mempool objects are chained into a list, we can use it to
browse them. This implies a rework of rte_mempool_obj_iter() API, that
does not need to take as many arguments as before. The previous function
is kept as a private function, and renamed in this commit. It will be
removed in a next commit of the patch series.

The only internal users of this function are the mellanox drivers. The
code is updated accordingly.

Introducing an API compatibility for this function has been considered,
but it is not easy to do without keeping the old code, as the previous
function could also be used to browse elements that were not added in a
mempool. Moreover, the API is already be broken by other patches in this
version.

The library version was already updated in
commit 213af31e09 ("mempool: reduce structure size if no cache needed")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-05-19 14:40:13 +02:00

28 lines
408 B
Plaintext

DPDK_2.0 {
global:
rte_dom0_mempool_create;
rte_mempool_audit;
rte_mempool_calc_obj_size;
rte_mempool_count;
rte_mempool_create;
rte_mempool_dump;
rte_mempool_list_dump;
rte_mempool_lookup;
rte_mempool_walk;
rte_mempool_xmem_create;
rte_mempool_xmem_size;
rte_mempool_xmem_usage;
local: *;
};
DPDK_16.07 {
global:
rte_mempool_check_cookies;
rte_mempool_obj_iter;
local: *;
} DPDK_2.0;