net/i40e: fix raw packet flow director
authorSteve Yang <stevex.yang@intel.com>
Wed, 19 May 2021 03:27:45 +0000 (03:27 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 10 Jun 2021 10:04:16 +0000 (12:04 +0200)
commit920bdbf1bde39882d97118feb46892746db42078
tree0d7368f49b7a5a041cca0db7b705993bf0d32306
parent50937e495f5bcc5985365b3b93e34b6efffeca10
net/i40e: fix raw packet flow director

When user configured the flow rule with raw packet via command
"flow_director_filter", it would reset all previous fdir input set
flags with "i40e_flow_set_fdir_inset()".

Ignore to configure the flow input set with raw packet rule used.

Fixes: ff04964ea6d5 ("net/i40e: fix flow director for common pctypes")
Cc: stable@dpdk.org
Signed-off-by: Steve Yang <stevex.yang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_fdir.c