net/iavf: fix supported RSS type
authorSimei Su <simei.su@intel.com>
Mon, 2 Nov 2020 11:55:47 +0000 (19:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:07 +0000 (23:35 +0100)
commita100fe47f9d7c4cbfa79f7d2628a1255d7d0996d
treea29320631d651356ba1237f52613a97e3661f64e
parentf24aec3121de0efc58bb9cca3b28bbeab8c85710
net/iavf: fix supported RSS type

When a RSS rule with symmetric hash function, the RSS type shouldn't
carry with l3/l4 SRC/DST_ONLY. This patch adds invalid RSS type check
for the case.

Fixes: 91f27b2e39ab ("net/iavf: refactor RSS")

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_hash.c