4e32101f9b
When creating a ring, a memzone is created to allocate it in memory, but the ring could not be freed, as memzones could not be. Since memzones can be freed now, then rings can be as well, taking into account if they were initialized using pre-allocated memory (in which case, memory should be freed externally) or using rte_memzone_reserve (with rte_ring_create), freeing the memory with rte_memzone_free. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
21 lines
225 B
Plaintext
21 lines
225 B
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_ring_create;
|
|
rte_ring_dump;
|
|
rte_ring_get_memsize;
|
|
rte_ring_init;
|
|
rte_ring_list_dump;
|
|
rte_ring_lookup;
|
|
rte_ring_set_water_mark;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_2.2 {
|
|
global:
|
|
|
|
rte_ring_free;
|
|
|
|
} DPDK_2.0;
|