net/ice: fix symmetric rule creation
authorXuan Ding <xuan.ding@intel.com>
Thu, 21 Jan 2021 07:26:57 +0000 (07:26 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:07 +0000 (18:16 +0100)
commit11320446558f81270a254cce4998abea3cdf0c3f
tree1b751db7495ff2ae0b2115ce5b1082e760ac71bb
parent5d4ca9b0a23585b1fb8d71d7af34fba26369cbea
net/ice: fix symmetric rule creation

Only allow to create symmetric rule for L3/L4.

Fixes: 38d632cbdc88 ("net/ice: refactor PF RSS")

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_hash.c