i40e: add or delete flow director
authorJingjing Wu <jingjing.wu@intel.com>
Fri, 21 Nov 2014 00:46:40 +0000 (08:46 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 24 Nov 2014 23:06:03 +0000 (00:06 +0100)
commit05999aab4ca67d36dedf823a244e58d79c5835a6
tree0f379e4537b2bda921f8ee230d27cef138b4970a
parenta72c1d58ded274582248389515506b6e76b46414
i40e: add or delete flow director

deal with two operations for flow director
 - RTE_ETH_FILTER_ADD
 - RTE_ETH_FILTER_DELETE
encode the flow inputs to programming packet
sent the packet to filter programming queue and check status on the status report queue

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev.h
lib/librte_pmd_i40e/i40e_fdir.c