i40e: transition between flow type and pctype
authorJingjing Wu <jingjing.wu@intel.com>
Fri, 21 Nov 2014 00:46:39 +0000 (08:46 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 24 Nov 2014 23:06:03 +0000 (00:06 +0100)
commita72c1d58ded274582248389515506b6e76b46414
tree28faa8a522ba67520a2ff8968720de739caefc66
parentd69be32d4d78ab054c0a6d2534ca9a8bf7437db0
i40e: transition between flow type and pctype

- macros to validate flow_type and pctype
- functions for transition between flow_type and pctype:
  - i40e_flowtype_to_pctype
  - i40e_pctype_to_flowtype

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