src/dpdk/lib/librte_hash/rte_jhash.h
static inline uint32_t
rte_jhash_32b(const uint32_t *k, uint32_t length, uint32_t initval)
{
	uint32_t initval2 = 0;

	rte_jhash_32b_2hashes(k, length, &initval, &initval2);

	return initval;
}
/**
 * A special optimized version that handles 1 or more of uint32_ts.
 * The length parameter here is the number of uint32_ts in the key.
 *
 * @param k
 *   Key to calculate hash of.
 * @param length
 *   Length of key in units of 4 bytes.
 * @param initval
 *   Initialising value of hash.
 * @return
 *   Calculated hash value.
 */
A special optimized version that handles 1 or more of uint32_ts.
The length parameter here is the number of uint32_ts in the key.

@param k
Key to calculate hash of.
@param length
Length of key in units of 4 bytes.
@param initval
Initialising value of hash.
@return
Calculated hash value.
A special optimized version that handles 1 or more of uint32_ts . The length parameter here is the number of uint32_ts in the key . @param k Key to calculate hash of . @param length Length of key in units of 4 bytes . @param initval Initialising value of hash . @return Calculated hash value .
static inline uint32_t
rte_jhash_32b(const uint32_t *k, uint32_t length, uint32_t initval)
{
	uint32_t initval2 = 0;
	rte_jhash_32b_2hashes(k, length, &initval, &initval2);
	return initval;
}
static inline uint32_t rte_jhash_32b ( const uint32_t * k , uint32_t length , uint32_t initval ) { uint32_t initval2 = 0 ; rte_jhash_32b_2hashes ( k , length , & initval , & initval2 ) ; return initval ; }
A special optimized version that handles 1 or more of uint32_ts.
A special optimized version that handles 1 or more of uint32_ts .