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

Function rte_hash_add_key

dpdk/lib/hash/rte_cuckoo_hash.c:1212–1217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212int32_t
1213rte_hash_add_key(const struct rte_hash *h, const void *key)
1214{
1215 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL);
1216 return __rte_hash_add_key_with_hash(h, key, rte_hash_hash(h, key), 0);
1217}
1218
1219int
1220rte_hash_add_key_with_hash_data(const struct rte_hash *h,

Calls 2

rte_hash_hashFunction · 0.85

Tested by 15

generate_keysFunction · 0.68
write_keysFunction · 0.68
test_rwc_multi_writerFunction · 0.68
timed_addsFunction · 0.68
test_add_deleteFunction · 0.68
test_add_update_deleteFunction · 0.68
test_five_keysFunction · 0.68