* 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. */
| 356 | * Calculated hash value. |
| 357 | */ |
| 358 | static inline uint32_t |
| 359 | rte_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 |