[dpdk-dev] [PATCH v3] hash: fix tuple adjustment

Thomas Monjalon thomas at monjalon.net
Mon May 10 15:25:46 CEST 2021


06/05/2021 13:40, Vladimir Medvedkin:
> rte_thash_adjust_tuple() uses random to generate a new subtuple if
> fn() callback reports about collision. In some cases random changes
> the subtuple in a way that after complementary bits are applied the
> original tuple is obtained. This patch replaces random with subtuple
> increment.
> 
> Fixes: 28ebff11c2dc ("hash: add predictable RSS")
> Cc: vladimir.medvedkin at intel.com
> 
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> Acked-by: Yipeng Wang <yipeng1.wang at intel.com>
> Tested-by: Stanislaw Kardach <kda at semihalf.com>
> Reviewed-by: Stanislaw Kardach <kda at semihalf.com>

Applied, thanks





More information about the dev mailing list