95da2f8e9c
Give user a chance to customize the hash key compare function. The default rte_hash_cmp_eq function is set in the rte_hash_create function, but these builtin ones may not good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin <yuwb_bjy@ctbri.com.cn> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
41 lines
619 B
Plaintext
41 lines
619 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;
|