On Thu, Oct 14, 2021 at 7:55 PM Vladimir Medvedkin <vladimir.medved...@intel.com> wrote: > @@ -1607,6 +1611,17 @@ static struct rte_hash_parameters hash_params_ex = { > }; > > /* > + * Wrapper function around rte_jhash_32b. > + * It is required because rte_jhash_32b() accepts the length > + * as size of 4-byte units. > + */ > +static inline uint32_t > +test_jhash_32b(const void *k, uint32_t length, uint32_t initval) > +{ > + return rte_jhash_32b(k, length >> 2, initval); > +}
I am confused. Does it mean that rte_jhash_32b is not compliant with rte_hash_create API? -- David Marchand