[dpdk-dev] [PATCH v3 1/4] hash: reorder hash structure

2016-09-29 Thread De Lara Guarch, Pablo
> -Original Message- > From: Richardson, Bruce > Sent: Wednesday, September 28, 2016 2:03 AM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [PATCH v3 1/4] hash: reorder hash structure > > On Tue, Sep 06, 2016 at 08:34:01PM +0100, Pablo de Lara wrote: > > In order to opt

[dpdk-dev] [PATCH v3 1/4] hash: reorder hash structure

2016-09-28 Thread Bruce Richardson
On Tue, Sep 06, 2016 at 08:34:01PM +0100, Pablo de Lara wrote: > In order to optimize lookup performance, hash structure > is reordered, so all fields used for lookup will be > in the first cache line. > > Signed-off-by: Pablo de Lara > --- > lib/librte_hash/rte_cuckoo_hash.h | 12 +++- >

[dpdk-dev] [PATCH v3 1/4] hash: reorder hash structure

2016-09-06 Thread Pablo de Lara
In order to optimize lookup performance, hash structure is reordered, so all fields used for lookup will be in the first cache line. Signed-off-by: Pablo de Lara --- lib/librte_hash/rte_cuckoo_hash.h | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/librte_hash