net/ixgbe: fix type check for flow type
authorWei Zhao <wei.zhao1@intel.com>
Thu, 27 Apr 2017 06:34:06 +0000 (14:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 12:46:18 +0000 (14:46 +0200)
commit0e2fa44641bd0a7c6cbc5302663358fe5f31e3a8
tree2fcf1243d49912cf5999150bfbf215edde0a8c7c
parent3d54a4d9cec1df1fa88fdffeda74d948fc1c2a6a
net/ixgbe: fix type check for flow type

The type check for flow_type should be IXGBE_ATR_FLOW_TYPE_IPV4
in special card not RTE_ETH_FLOW_NONFRAG_IPV4_OTHER.

Fixes: dc0c16105d2 ("ixgbe: fix X550 flow director check")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_fdir.c