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;
|
|
|
|
rte_mempool_xmem_create;
|
|
|
|
rte_mempool_xmem_size;
|
|
|
|
rte_mempool_xmem_usage;
|
|
|
|
|
|
|
|
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_phys;
|
|
|
|
rte_mempool_populate_phys_tab;
|
|
|
|
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;
|