2015-02-02 17:40:20 +00:00
|
|
|
DPDK_2.0 {
|
|
|
|
global:
|
|
|
|
|
|
|
|
rte_mempool_audit;
|
|
|
|
rte_mempool_calc_obj_size;
|
|
|
|
rte_mempool_create;
|
|
|
|
rte_mempool_dump;
|
|
|
|
rte_mempool_list_dump;
|
|
|
|
rte_mempool_lookup;
|
|
|
|
rte_mempool_walk;
|
|
|
|
|
|
|
|
local: *;
|
|
|
|
};
|
2016-05-18 11:04:24 +00:00
|
|
|
|
2016-06-24 22:00:57 +00:00
|
|
|
DPDK_16.07 {
|
2016-05-18 11:04:24 +00:00
|
|
|
global:
|
|
|
|
|
2016-06-30 12:49:25 +00:00
|
|
|
rte_mempool_avail_count;
|
mempool: allow user-owned cache
The mempool cache is only available to EAL threads as a per-lcore
resource. Change this so that the user can create and provide their own
cache on mempool get and put operations. This works with non-EAL threads
too. This commit introduces the new API calls:
rte_mempool_cache_create(size, socket_id)
rte_mempool_cache_free(cache)
rte_mempool_cache_flush(cache, mp)
rte_mempool_default_cache(mp, lcore_id)
Changes the API calls:
rte_mempool_generic_put(mp, obj_table, n, cache, flags)
rte_mempool_generic_get(mp, obj_table, n, cache, flags)
The cache-oblivious API calls use the per-lcore default local cache.
Signed-off-by: Lazaros Koromilas <l@nofutznetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-06-28 23:47:38 +00:00
|
|
|
rte_mempool_cache_create;
|
|
|
|
rte_mempool_cache_flush;
|
|
|
|
rte_mempool_cache_free;
|
2016-05-18 11:04:24 +00:00
|
|
|
rte_mempool_check_cookies;
|
2016-05-18 11:04:51 +00:00
|
|
|
rte_mempool_create_empty;
|
mempool: allow user-owned cache
The mempool cache is only available to EAL threads as a per-lcore
resource. Change this so that the user can create and provide their own
cache on mempool get and put operations. This works with non-EAL threads
too. This commit introduces the new API calls:
rte_mempool_cache_create(size, socket_id)
rte_mempool_cache_free(cache)
rte_mempool_cache_flush(cache, mp)
rte_mempool_default_cache(mp, lcore_id)
Changes the API calls:
rte_mempool_generic_put(mp, obj_table, n, cache, flags)
rte_mempool_generic_get(mp, obj_table, n, cache, flags)
The cache-oblivious API calls use the per-lcore default local cache.
Signed-off-by: Lazaros Koromilas <l@nofutznetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-06-28 23:47:38 +00:00
|
|
|
rte_mempool_default_cache;
|
2016-06-22 09:27:27 +00:00
|
|
|
rte_mempool_free;
|
mempool: deprecate specific get and put functions
This commit introduces the API calls:
rte_mempool_generic_put(mp, obj_table, n, is_mp)
rte_mempool_generic_get(mp, obj_table, n, is_mc)
Deprecates the API calls:
rte_mempool_mp_put_bulk(mp, obj_table, n)
rte_mempool_sp_put_bulk(mp, obj_table, n)
rte_mempool_mp_put(mp, obj)
rte_mempool_sp_put(mp, obj)
rte_mempool_mc_get_bulk(mp, obj_table, n)
rte_mempool_sc_get_bulk(mp, obj_table, n)
rte_mempool_mc_get(mp, obj_p)
rte_mempool_sc_get(mp, obj_p)
We also check cookies in one place now.
Signed-off-by: Lazaros Koromilas <l@nofutznetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-06-28 23:47:36 +00:00
|
|
|
rte_mempool_generic_get;
|
|
|
|
rte_mempool_generic_put;
|
2016-06-30 12:49:25 +00:00
|
|
|
rte_mempool_in_use_count;
|
2016-06-22 09:27:27 +00:00
|
|
|
rte_mempool_mem_iter;
|
|
|
|
rte_mempool_obj_iter;
|
|
|
|
rte_mempool_ops_table;
|
|
|
|
rte_mempool_populate_anon;
|
|
|
|
rte_mempool_populate_default;
|
2016-05-18 11:04:51 +00:00
|
|
|
rte_mempool_populate_virt;
|
2016-06-22 09:27:27 +00:00
|
|
|
rte_mempool_register_ops;
|
|
|
|
rte_mempool_set_ops_byname;
|
2016-05-18 11:04:24 +00:00
|
|
|
|
|
|
|
} DPDK_2.0;
|
2017-10-01 09:28:59 +00:00
|
|
|
|
|
|
|
DPDK_17.11 {
|
|
|
|
global:
|
|
|
|
|
2017-11-05 22:26:24 +00:00
|
|
|
rte_mempool_populate_iova;
|
2017-10-01 09:28:59 +00:00
|
|
|
|
|
|
|
} DPDK_16.07;
|
2018-04-16 13:24:33 +00:00
|
|
|
|
|
|
|
DPDK_18.05 {
|
|
|
|
global:
|
|
|
|
|
2018-04-26 10:59:21 +00:00
|
|
|
rte_mempool_contig_blocks_check_cookies;
|
2018-04-16 13:24:33 +00:00
|
|
|
rte_mempool_op_calc_mem_size_default;
|
2018-04-16 13:24:34 +00:00
|
|
|
rte_mempool_op_populate_default;
|
2018-04-16 13:24:33 +00:00
|
|
|
|
|
|
|
} DPDK_17.11;
|
2018-04-26 10:59:20 +00:00
|
|
|
|
|
|
|
EXPERIMENTAL {
|
|
|
|
global:
|
|
|
|
|
2019-11-05 15:37:03 +00:00
|
|
|
# added in 18.05
|
2018-04-26 10:59:20 +00:00
|
|
|
rte_mempool_ops_get_info;
|
2019-11-05 15:37:03 +00:00
|
|
|
|
|
|
|
# added in 19.11
|
|
|
|
rte_mempool_get_page_size;
|
2019-11-05 15:37:04 +00:00
|
|
|
rte_mempool_op_calc_mem_size_helper;
|
|
|
|
rte_mempool_op_populate_helper;
|
2018-04-27 15:17:55 +00:00
|
|
|
};
|