* 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. */
| 373 | * Calculated hash value. |
| 374 | */ |
| 375 | static inline uint32_t |
| 376 | rte_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 | } |