MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_hash_lookup_data

Function rte_hash_lookup_data

dpdk/lib/hash/rte_cuckoo_hash.c:1449–1454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1447}
1448
1449int
1450rte_hash_lookup_data(const struct rte_hash *h, const void *key, void **data)
1451{
1452 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL);
1453 return __rte_hash_lookup_with_hash(h, key, rte_hash_hash(h, key), data);
1454}
1455
1456static int
1457free_slot(const struct rte_hash *h, uint32_t slot_id)

Callers 15

rule_find_with_keyFunction · 0.85
rule_find_with_keyFunction · 0.85
vhost_crypto_close_sessFunction · 0.85
memif_socket_initFunction · 0.85
enic_action_handle_getFunction · 0.85
nfp_mask_table_searchFunction · 0.85
nfp_flow_table_searchFunction · 0.85
nfp_pre_tun_table_searchFunction · 0.85

Calls 2

rte_hash_hashFunction · 0.85

Tested by 5

test_rcu_qsbr_readerFunction · 0.68
test_rw_readerFunction · 0.68
test_hash_readwrite_perfFunction · 0.68
timed_lookupsFunction · 0.68