net/iavf: fix symmetric flow rule creation
authorXuan Ding <xuan.ding@intel.com>
Fri, 22 Jan 2021 03:19:22 +0000 (03:19 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commit3e7ff9d5d80386b9f588f401c91b044ea08a68c5
treedc3ad36aba72d67d9f2ad05a25e9566d7dda2f90
parented879add1ba7529d69c69a35d3260114f871750a
net/iavf: fix symmetric flow rule creation

Only allow to create symmetric rule for L3/L4.

Fixes: 91f27b2e39ab ("net/iavf: refactor RSS")
Cc: stable@dpdk.org
Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/iavf/iavf_hash.c