Re: [dpdk-dev] [PATCH] hash: document rte_jhash() boundary behavior

2017-10-05 Thread Thomas Monjalon
> > Due to the uint32_t accesses in the hash computation, keys that aren't > > aligned to a uint32_t boundary or multiples of uint32_t in length, may see > > accesses beyond the end of the key. This may cross a page boundary. > > > > Signed-off-by: Chas Williams > > Acked-by: John McNamara A

Re: [dpdk-dev] [PATCH] hash: document rte_jhash() boundary behavior

2017-09-19 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Chas Williams > Sent: Monday, September 18, 2017 8:48 PM > To: dev@dpdk.org > Cc: Richardson, Bruce ; De Lara Guarch, Pablo > ; Chas Williams > Subject: [dpdk-dev] [PATCH] hash: document

Re: [dpdk-dev] [PATCH] hash: document rte_jhash() boundary behavior

2017-09-19 Thread Luca Boccassi
On Mon, 2017-09-18 at 15:47 -0400, Chas Williams wrote: > From: Chas Williams > > Due to the uint32_t accesses in the hash computation, keys that > aren't > aligned to a uint32_t boundary or multiples of uint32_t in length, > may > see accesses beyond the end of the key.  This may cross a page >

[dpdk-dev] [PATCH] hash: document rte_jhash() boundary behavior

2017-09-18 Thread Chas Williams
From: Chas Williams Due to the uint32_t accesses in the hash computation, keys that aren't aligned to a uint32_t boundary or multiples of uint32_t in length, may see accesses beyond the end of the key. This may cross a page boundary. Signed-off-by: Chas Williams --- lib/librte_hash/rte_jhash.