2015-02-02 12:40:20 -05: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 13:04:24 +02:00
|
|
|
|
2016-06-25 00:00:57 +02:00
|
|
|
DPDK_16.07 {
|
2016-05-18 13:04:24 +02:00
|
|
|
global:
|
|
|
|
|
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_flush;
|
|
|
|
rte_mempool_cache_free;
|
2016-05-18 13:04:24 +02:00
|
|
|
rte_mempool_check_cookies;
|
2016-05-18 13:04:51 +02: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-29 00:47:38 +01:00
|
|
|
rte_mempool_default_cache;
|
2016-06-22 10:27:27 +01: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-29 00:47:36 +01:00
|
|
|
rte_mempool_generic_get;
|
|
|
|
rte_mempool_generic_put;
|
2016-06-30 13:49:25 +01:00
|
|
|
rte_mempool_in_use_count;
|
2016-06-22 10:27:27 +01:00
|
|
|
rte_mempool_mem_iter;
|
|
|
|
rte_mempool_obj_iter;
|
|
|
|
rte_mempool_ops_table;
|
|
|
|
rte_mempool_populate_anon;
|
|
|
|
rte_mempool_populate_default;
|
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;
|
2016-05-18 13:04:24 +02:00
|
|
|
|
|
|
|
} DPDK_2.0;
|
2017-10-01 14:58:59 +05:30
|
|
|
|
|
|
|
DPDK_17.11 {
|
|
|
|
global:
|
|
|
|
|
2017-11-05 23:26:24 +01:00
|
|
|
rte_mempool_populate_iova;
|
2017-10-01 14:58:59 +05:30
|
|
|
|
|
|
|
} DPDK_16.07;
|
2018-04-16 14:24:33 +01:00
|
|
|
|
|
|
|
DPDK_18.05 {
|
|
|
|
global:
|
|
|
|
|
2018-04-26 11:59:21 +01:00
|
|
|
rte_mempool_contig_blocks_check_cookies;
|
2018-04-16 14:24:33 +01:00
|
|
|
rte_mempool_op_calc_mem_size_default;
|
2018-04-16 14:24:34 +01:00
|
|
|
rte_mempool_op_populate_default;
|
2018-04-16 14:24:33 +01:00
|
|
|
|
|
|
|
} DPDK_17.11;
|
2018-04-26 11:59:20 +01:00
|
|
|
|
|
|
|
EXPERIMENTAL {
|
|
|
|
global:
|
|
|
|
|
2019-11-05 16:37:03 +01:00
|
|
|
# added in 18.05
|
2018-04-26 11:59:20 +01:00
|
|
|
rte_mempool_ops_get_info;
|
2019-11-05 16:37:03 +01:00
|
|
|
|
|
|
|
# added in 19.11
|
|
|
|
rte_mempool_get_page_size;
|
2019-11-05 16:37:04 +01:00
|
|
|
rte_mempool_op_calc_mem_size_helper;
|
|
|
|
rte_mempool_op_populate_helper;
|
2018-04-27 16:17:55 +01:00
|
|
|
};
|