0a48646893
Size of memory chunk required to populate mempool objects depends on how objects are stored in the memory. Different mempool drivers may have different requirements and a new operation allows to calculate memory size in accordance with driver requirements and advertise requirements on minimum memory chunk size and alignment in a generic way. Bump ABI version since the patch breaks it. Suggested-by: Olivier Matz <olivier.matz@6wind.com> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
Plaintext
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: *;
|
|
};
|
|
|
|
DPDK_16.07 {
|
|
global:
|
|
|
|
rte_mempool_avail_count;
|
|
rte_mempool_cache_create;
|
|
rte_mempool_cache_flush;
|
|
rte_mempool_cache_free;
|
|
rte_mempool_check_cookies;
|
|
rte_mempool_create_empty;
|
|
rte_mempool_default_cache;
|
|
rte_mempool_free;
|
|
rte_mempool_generic_get;
|
|
rte_mempool_generic_put;
|
|
rte_mempool_in_use_count;
|
|
rte_mempool_mem_iter;
|
|
rte_mempool_obj_iter;
|
|
rte_mempool_ops_table;
|
|
rte_mempool_populate_anon;
|
|
rte_mempool_populate_default;
|
|
rte_mempool_populate_phys;
|
|
rte_mempool_populate_phys_tab;
|
|
rte_mempool_populate_virt;
|
|
rte_mempool_register_ops;
|
|
rte_mempool_set_ops_byname;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_17.11 {
|
|
global:
|
|
|
|
rte_mempool_ops_get_capabilities;
|
|
rte_mempool_ops_register_memory_area;
|
|
rte_mempool_populate_iova;
|
|
rte_mempool_populate_iova_tab;
|
|
|
|
} DPDK_16.07;
|
|
|
|
DPDK_18.05 {
|
|
global:
|
|
|
|
rte_mempool_op_calc_mem_size_default;
|
|
|
|
} DPDK_17.11;
|