net/i40e: fix FDIR input set conflict
authorBeilei Xing <beilei.xing@intel.com>
Mon, 18 Dec 2017 05:20:57 +0000 (13:20 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitfade5c874397f24770b2464903ddc2c423a034b6
tree04869956fdeaa2a9de06b2dc0c58ecbbcf070a64
parent54f19c9c3b251fd0e229c5a7ebb570eed5afe68c
net/i40e: fix FDIR input set conflict

The first FDIR rule for some PCTYPE will configure input set and
create flow, the following flows must use the same input set,
otherwise it will cause input set conflict and fail to create flow.
If it creates the first rule after flow flush, input set should be
re-configured.

Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_flow.c