6dc34e0afe
The function rte_hash_get_key_with_position is added in this patch. As the position returned when adding a key is frequently used as an offset into an array of user data, this function performs the operation of retrieving a key given this offset. A possible use case would be to delete a key from the hash table when its entry in the array of data has certain value. For instance, the key could be a flow 5-tuple, and the value stored in the array a time stamp. Signed-off-by: Juan Antonio Montesinos <juan.antonio.montesinos.delgado@ericsson.com> Signed-off-by: Yari Adan Petralanda <yari.adan.petralanda@ericsson.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
48 lines
689 B
Plaintext
48 lines
689 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;
|