net/i40e: fix recreating flexible flow director rule
authorGuinan Sun <guinanx.sun@intel.com>
Tue, 15 Sep 2020 06:52:25 +0000 (06:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:11 +0000 (18:55 +0200)
commit0acf70d473072fd77b667a0419f8b9ab70b35b39
tree3c19e79bad6eac8c5ab3c874743d265184c33d1d
parent62451c94addc54475ef4580eec2799b8815f696a
net/i40e: fix recreating flexible flow director rule

This patch fixes the failure of recreate flexible fdir rule.
The root cause is that the flex_mask_flag is not reset during
flow destroy and flow flush.

Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR")
Cc: stable@dpdk.org
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_flow.c