net/ice: fix flow validation for unsupported patterns
authorGuinan Sun <guinanx.sun@intel.com>
Tue, 8 Sep 2020 03:15:05 +0000 (03:15 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:08 +0000 (18:55 +0200)
commitc28c993c8a255b13cb0fb5f8094cebf46176ef1d
tree303d41a2e6b168729d7edb64a76fbd42052fe06f
parent91f27b2e39abbc7692d6fd7fd8ea3694c4c985e1
net/ice: fix flow validation for unsupported patterns

When loading the OS default package and the pipeline mode is enabled
by the "pipeline-mode-support=1" operation. In this case, the wrong
parser is selected for processing and it will cause the unsupported
patterns(pppoes/pfcp/l2tpv3/esp/ah) to be validated successfully.
This patch corrects the parser selection issue.

Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: stable@dpdk.org
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c