hash: fix tuple adjustment
hash: fix tuple adjustment

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: 085731b4c6f11a88aba42f72e5e495cf937bde5a@intel.com

Reported-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@redhat.com>
Signed-off-by: Vladimir Medvedkin <085731b4c6f11a88aba42f72e5e495cf937bde5a@intel.com>
Acked-by: Yipeng Wang <7cbe00ff6364999b5548d30abb0722f7c2a7092c@intel.com>
Tested-by: Stanislaw Kardach <0d18f8336f2f75f44655e0db45e62a88edb4ec0c@semihalf.com>
Reviewed-by: Stanislaw Kardach <0d18f8336f2f75f44655e0db45e62a88edb4ec0c@semihalf.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk