net/ixgbe: fix mask flag on flow rule creation
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 2 Aug 2017 21:38:09 +0000 (05:38 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 4 Aug 2017 23:30:14 +0000 (01:30 +0200)
commitd769655450ac31842b78837ddf9849a3aee707c6
tree222be8c60cfce6b8eed7bbce93b4cde09f786428
parente258d5fe3b34fd4b637ab955d63a340c8682ad09
net/ixgbe: fix mask flag on flow rule creation

After fail to create a flow and if this is the first flow, the
mask_added flag should be reset, or it will prevent a new flow
which require different mask be created, since the mask config
remains impact.

Fixes: 72c135a89f8 ("net/ixgbe: create consistent filter")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_flow.c