net/i40e: fix hash lookup table
authorShougang Wang <shougangx.wang@intel.com>
Fri, 24 Jul 2020 09:38:34 +0000 (09:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commitbe766d4369ea05fad6107d32ff996aa808079525
treee3977a75c615fa0be0d95fccb867f7b46f4c53d8
parentd0f6c960367f83259175348878278592e989b562
net/i40e: fix hash lookup table

The hash look up table (LUT) is managed by global register but it is not
initialized when RSS is disabled. Once user wants to enable RSS during
runtime, the LUT will not be initialized.
This patch fixes the issue by initializing the LUT whatever RSS enabled
or not.

Fixes: feaae285b342 ("net/i40e: support hash configuration in RSS flow")
Cc: stable@dpdk.org
Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Tested-by: Xi Zhang <xix.zhang@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_ethdev.c