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

Function rte_jhash_2words

dpdk/lib/hash/rte_jhash.h:358–362  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

356 * Calculated hash value.
357 */
358static inline uint32_t
359rte_jhash_2words(uint32_t a, uint32_t b, uint32_t initval)
360{
361 return __rte_jhash_3words(a + 8, b + 8, 8, initval);
362}
363
364/**
365 * A special ultra-optimized versions that knows it is hashing exactly

Callers 2

verify_jhash_wordsFunction · 0.50
test_hash_jhash_2wordFunction · 0.50

Calls 1

__rte_jhash_3wordsFunction · 0.70

Tested by 2

verify_jhash_wordsFunction · 0.40
test_hash_jhash_2wordFunction · 0.40