ethdev: unification of flow types
authorHelin Zhang <helin.zhang@intel.com>
Wed, 4 Feb 2015 07:16:31 +0000 (15:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 22 Feb 2015 22:56:20 +0000 (23:56 +0100)
commit7fa96d696f2ce8a6784235ff502b55550e6dd4fe
treee11668051261059662b900fb0f0b759e0d5f1649
parentea4c89aeee8383bc5771127ae4bb385bab12983b
ethdev: unification of flow types

Flow types was defined actually for i40e hardware specifically,
and wasn't able to be used for defining RSS offload types of all
PMDs. It removed the enum flow types, and uses macros instead
with new names. The new macros can be used for defining RSS
offload types later. Also modifications are made in i40e and
testpmd accordingly.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
[Thomas: merge with new flow director API]
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
lib/librte_ether/rte_eth_ctrl.h
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev.h
lib/librte_pmd_i40e/i40e_fdir.c
lib/librte_pmd_ixgbe/ixgbe_fdir.c