numam-dpdk/lib/librte_hash/rte_hash_version.map
Honnappa Nagarahalli 9d033dac7d hash: support no free on delete
rte_hash_lookup_xxx APIs return the index of slot in
the key store. Application(reader) can use that index to reference
other data structures in its scope. Because of this, the
index should not be freed till the application completes
using the index.
RTE_HASH_EXTRA_FLAGS_NO_FREE_ON_DEL is introduced to support this.
When this flag is enabled rte_hash_del_xxx APIs do not free the
key-store index/internal memory associated with the deleted
entry. The new API rte_hash_free_key_with_position should be called
to free the key-store index/internal memory after calling
rte_hash_del_xxx APIs.

Suggested-by: Yipeng Wang <yipeng1.wang@intel.com>
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Yipeng Wang <yipeng1.wang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2018-10-26 12:44:52 +02:00

63 lines
810 B
Plaintext

DPDK_2.0 {
global:
rte_fbk_hash_create;
rte_fbk_hash_find_existing;
rte_fbk_hash_free;
rte_hash_add_key;
rte_hash_add_key_with_hash;
rte_hash_create;
rte_hash_del_key;
rte_hash_del_key_with_hash;
rte_hash_find_existing;
rte_hash_free;
rte_hash_hash;
rte_hash_lookup;
rte_hash_lookup_bulk;
rte_hash_lookup_with_hash;
local: *;
};
DPDK_2.1 {
global:
rte_hash_add_key_data;
rte_hash_add_key_with_hash_data;
rte_hash_iterate;
rte_hash_lookup_bulk_data;
rte_hash_lookup_data;
rte_hash_lookup_with_hash_data;
rte_hash_reset;
} DPDK_2.0;
DPDK_2.2 {
global:
rte_hash_set_cmp_func;
} DPDK_2.1;
DPDK_16.07 {
global:
rte_hash_get_key_with_position;
} DPDK_2.2;
DPDK_18.08 {
global:
rte_hash_count;
} DPDK_16.07;
EXPERIMENTAL {
global:
rte_hash_free_key_with_position;
};