[dpdk-dev] [PATCH] hash: fix ring size

2016-09-27 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, September 26, 2016 4:52 PM > To: dev at dpdk.org > Cc: Richardson, Bruce; De Lara Guarch, Pablo > Subject: [PATCH] hash: fix ring size > > Ring stores the free slots available to be used in the key table. > The ring size

[dpdk-dev] [PATCH] hash: fix ring size

2016-09-27 Thread Pablo de Lara
Ring stores the free slots available to be used in the key table. The ring size was being increased by 1, because of the dummy slot, used for key misses, but this is not actually stored in the ring, so there is no need to increase it. Fixes: 5915699153d7 ("hash: fix scaling by reducing contention"