[dpdk-dev] [PATCH v2 5/6] hash: fix to have more accurate key slot size

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Fri Jul 6 19:32:49 CEST 2018



> -----Original Message-----
> From: Wang, Yipeng1
> Sent: Friday, June 29, 2018 1:25 PM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org; Wang, Yipeng1 <yipeng1.wang at intel.com>; Richardson,
> Bruce <bruce.richardson at intel.com>; honnappa.nagarahalli at arm.com;
> vguvva at caviumnetworks.com; brijesh.s.singh at gmail.com
> Subject: [PATCH v2 5/6] hash: fix to have more accurate key slot size
> 
> This commit calculates the needed key slot size more accurately. The previous
> local cache fix requires the free slot ring to be larger than actually needed.
> The calculation of the value is inaccurate.
> 
> Fixes: 5915699153d7 ("hash: fix scaling by reducing contention")

Missing "Cc: stable at dpdk.org).

Also, could you add this as the first patch of the set.
That way, it would be easier to backport (the patch will need modification, otherwise it won't compile).



More information about the dev mailing list