net/i40e: fix available RSS hash function
authorSteve Yang <stevex.yang@intel.com>
Mon, 21 Jun 2021 08:03:42 +0000 (08:03 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Sun, 4 Jul 2021 14:57:15 +0000 (16:57 +0200)
commitc725221d09113bde89faa1e3c468e805fb335939
treebc261af6947c12f73d01b1210ae7dc857cb0720b
parent58bb86cf13b8535fa8786f97cc9a4dfaa780a51e
net/i40e: fix available RSS hash function

i40e can support following rss hash function types: default/toeplitz,
symmetric toeplitz, and simple_xor. However, when filter engine parses
pattern action, it only supports symmetric toeplitz & default.

Add simple_xor and toeplitz hash functions support when parsing pattern
action.

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