2021-08-08 21:26:58 +02:00
|
|
|
DPDK_22 {
|
2015-02-02 12:40:20 -05:00
|
|
|
global:
|
|
|
|
|
|
|
|
rte_mempool_audit;
|
2016-06-30 13:49:25 +01: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-29 00:47:38 +01:00
|
|
|
rte_mempool_cache_create;
|
|
|
|
rte_mempool_cache_free;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_calc_obj_size;
|
2016-05-18 13:04:24 +02:00
|
|
|
rte_mempool_check_cookies;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_contig_blocks_check_cookies;
|
|
|
|
rte_mempool_create;
|
2016-05-18 13:04:51 +02:00
|
|
|
rte_mempool_create_empty;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_dump;
|
2016-06-22 10:27:27 +01:00
|
|
|
rte_mempool_free;
|
2020-10-06 09:07:50 +02:00
|
|
|
rte_mempool_get_page_size;
|
2016-06-30 13:49:25 +01:00
|
|
|
rte_mempool_in_use_count;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_list_dump;
|
|
|
|
rte_mempool_lookup;
|
2016-06-22 10:27:27 +01:00
|
|
|
rte_mempool_mem_iter;
|
|
|
|
rte_mempool_obj_iter;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_op_calc_mem_size_default;
|
2020-10-06 09:07:50 +02:00
|
|
|
rte_mempool_op_calc_mem_size_helper;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_op_populate_default;
|
2020-10-06 09:07:50 +02:00
|
|
|
rte_mempool_op_populate_helper;
|
|
|
|
rte_mempool_ops_get_info;
|
2016-06-22 10:27:27 +01:00
|
|
|
rte_mempool_ops_table;
|
|
|
|
rte_mempool_populate_anon;
|
|
|
|
rte_mempool_populate_default;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_populate_iova;
|
2016-05-18 13:04:51 +02:00
|
|
|
rte_mempool_populate_virt;
|
2016-06-22 10:27:27 +01:00
|
|
|
rte_mempool_register_ops;
|
|
|
|
rte_mempool_set_ops_byname;
|
2019-11-20 17:23:38 +00:00
|
|
|
rte_mempool_walk;
|
2016-05-18 13:04:24 +02:00
|
|
|
|
2019-11-20 17:23:38 +00:00
|
|
|
local: *;
|
|
|
|
};
|
2018-04-26 11:59:20 +01:00
|
|
|
|
|
|
|
EXPERIMENTAL {
|
|
|
|
global:
|
|
|
|
|
2020-04-23 00:33:48 +05:30
|
|
|
# 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;
|
2018-04-27 16:17:55 +01:00
|
|
|
};
|