Re: [dpdk-dev] [PATCH] hash: fix incorrect eviction counter

2017-09-22 Thread De Lara Guarch, Pablo
> -Original Message- > From: Richardson, Bruce > Sent: Friday, September 22, 2017 9:36 AM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH] hash: fix incorrect eviction counter > > On Thu, Sep 21, 2017 at 01:46:46PM +0100, Pablo de Lara wrote: > > Wh

Re: [dpdk-dev] [PATCH] hash: fix incorrect eviction counter

2017-09-22 Thread Bruce Richardson
On Thu, Sep 21, 2017 at 01:46:46PM +0100, Pablo de Lara wrote: > When adding a new entry in a hash table, there is > a maximum number of evictions that can be > performed. When the counter of these evictions reaches > this maximum, the entry cannot be added, as it is considered > that the algorithm

[dpdk-dev] [PATCH] hash: fix incorrect eviction counter

2017-09-21 Thread Pablo de Lara
When adding a new entry in a hash table, there is a maximum number of evictions that can be performed. When the counter of these evictions reaches this maximum, the entry cannot be added, as it is considered that the algorithm has encountered an infinite loop. The problem with the current implemen