* Same as rte_jhash, but takes two seeds and return two uint32_ts. * pc and pb must be non-null, and *pc and *pb must both be initialized * with seeds. If you pass in (*pb)=0, the output (*pc) will be * the same as the return value from rte_jhash. * * @param key * Key to calculate hash of. * @param length * Length of key in bytes. * @param pc * IN: seed OUT: primary hash value. *
| 233 | * IN: second seed OUT: secondary hash value. |
| 234 | */ |
| 235 | static inline void |
| 236 | rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc, uint32_t *pb) |
| 237 | { |
| 238 | __rte_jhash_2hashes(key, length, pc, pb, 1); |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Same as rte_jhash_32b, but takes two seeds and return two uint32_ts. |
no test coverage detected