net/i40e: fix flow director for ARP packets
authorWei Zhao <wei.zhao1@intel.com>
Wed, 29 Apr 2020 02:03:51 +0000 (10:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:25 +0000 (15:54 +0200)
commit73cc2f0ab5cfaa7f4b2dd4c0cacc98b8e17cc778
tree6e6590532ff65732b79ad7c0c5c7978507f7037d
parenta3a51cbc7a252eb07ec5f9233f41243ba0ff8299
net/i40e: fix flow director for ARP packets

Currently, flow "pattern eth type is 0x0806 / end actions mark id
0x86 / rss / end" can't be created successfully. FDIR parser
shouldn't deny RTE_ETHER_TYPE_ARP since ARP packets will be
parsed as PCTYPE_L2_PAYLOAD. This patch fixes the issue.

Bugzilla ID: 402
Fixes: 42044b69c67d ("net/i40e: support input set selection for FDIR")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_flow.c