net/i40e: fix register setting for hash enable
authorDapeng Yu <dapengx.yu@intel.com>
Tue, 26 Jan 2021 09:52:11 +0000 (17:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commit4e719bd52dc7bd808823119e1edbac942cd10576
treee98357a63746394b6b8ae1d482a97a0d2337c34d
parent70f4e156ea52e3d8278acff30d06447eab623a15
net/i40e: fix register setting for hash enable

The original code causes wrong value to be set into PFQF_HENA
register because unnecessary calling to get translated pctype
value for X722 NIC. As a result RSS is not working.

So remove the unnecessary translation.

Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_hash.c