net/ice: fix FDIR flow type for IPv4 fragment
authorTing Xu <ting.xu@intel.com>
Wed, 2 Jun 2021 08:21:04 +0000 (16:21 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 10 Jun 2021 10:04:16 +0000 (12:04 +0200)
commit8751894ed4aed17284cbddbc51f36efe70b5234c
treefef88e8ee0b89e1c0b22346a187dae0384bbcdaf
parent45f6a19f6565a3ae8572868c1a6fd2ad70687171
net/ice: fix FDIR flow type for IPv4 fragment

When creating FDIR rule and parsing the pattern, if IPv4 fragment type is
detected, the flow type is not changed to ICE_FLTR_PTYPE_FRAG_IPV4 from
ICE_FLTR_PTYPE_NONF_IPV4_OTHER. It will cause profile confilict with
other FDIR rules for IPv4 other type.

Fixes: b7e8781de768 ("net/ice: support flow director for IP fragment packet")
Cc: stable@dpdk.org
Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_fdir_filter.c