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

Function rte_jhash_3words

dpdk/lib/hash/rte_jhash.h:339–343  ·  view source on GitHub ↗

* A special ultra-optimized versions that knows it is hashing exactly * 3 words. * * @param a * First word to calculate hash of. * @param b * Second word to calculate hash of. * @param c * Third word to calculate hash of. * @param initval * Initialising value of hash. * @return * Calculated hash value. */

Source from the content-addressed store, hash-verified

337 * Calculated hash value.
338 */
339static inline uint32_t
340rte_jhash_3words(uint32_t a, uint32_t b, uint32_t c, uint32_t initval)
341{
342 return __rte_jhash_3words(a + 12, b + 12, c + 12, initval);
343}
344
345/**
346 * A special ultra-optimized versions that knows it is hashing exactly

Callers 4

ipv4_frag_hashFunction · 0.50
ipv6_frag_hashFunction · 0.50
verify_jhash_wordsFunction · 0.50
test_hash_jhash_3wordFunction · 0.50

Calls 1

__rte_jhash_3wordsFunction · 0.70

Tested by 2

verify_jhash_wordsFunction · 0.40
test_hash_jhash_3wordFunction · 0.40