net/i40e: add flow validate function
authorBeilei Xing <beilei.xing@intel.com>
Fri, 6 Jan 2017 05:27:09 +0000 (13:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:53 +0000 (19:40 +0100)
commit86eb05d6350b1ae10d502cf942d40813e821aa9b
tree639acf694199b980a9cfd5ca98309ec2bf4fa56c
parent38e9fa650c0207c67b5bfdcdf075587af64290b1
net/i40e: add flow validate function

This patch adds i40e_flow_validation function to check if
a flow is valid according to the flow pattern.
i40e_flow_parse_ethertype_filter is added first, it also
gets the ethertype info.
i40e_flow.c is added to handle all generic filter events.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/Makefile
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_flow.c [new file with mode: 0644]