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

Function rte_jhash_1word

dpdk/lib/hash/rte_jhash.h:375–379  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

373 * Calculated hash value.
374 */
375static inline uint32_t
376rte_jhash_1word(uint32_t a, uint32_t initval)
377{
378 return __rte_jhash_3words(a + 4, 4, 4, initval);
379}
380
381#ifdef __cplusplus
382}

Callers 4

verify_jhash_wordsFunction · 0.50
test_hash_jhash_1wordFunction · 0.50
ipv4_hash_crcFunction · 0.50
ipv6_hash_crcFunction · 0.50

Calls 1

__rte_jhash_3wordsFunction · 0.70

Tested by 2

verify_jhash_wordsFunction · 0.40
test_hash_jhash_1wordFunction · 0.40