Implement dynamic mapping of software flow types to hardware pctypes. This allows to map new flow types to pctypes without changing API of the driver.
v2: Remove unnecessary check for new flow types. Re-arrange patchset to avoid compillation errors. Remove unnecessary usage of statically defined flow types and pctypes. Kirill Rybalchenko (4): net/i40e: implement dynamic mapping of sw flow types to hw pctypes net/i40e: add new functions to manipulate with pctype mapping table app/testpmd: add new commands to manipulate with pctype mapping ethdev: remove unnecessary check for new flow type app/test-pmd/cmdline.c | 311 ++++++++++++++++++++++++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 21 ++ drivers/net/i40e/i40e_ethdev.c | 347 +++++++--------------------- drivers/net/i40e/i40e_ethdev.h | 16 +- drivers/net/i40e/i40e_ethdev_vf.c | 36 +-- drivers/net/i40e/i40e_fdir.c | 51 ++-- drivers/net/i40e/i40e_flow.c | 2 +- drivers/net/i40e/i40e_rxtx.c | 57 +++++ drivers/net/i40e/i40e_rxtx.h | 1 + drivers/net/i40e/rte_pmd_i40e.c | 98 ++++++++ drivers/net/i40e/rte_pmd_i40e.h | 61 +++++ lib/librte_ether/rte_ethdev.c | 8 - 12 files changed, 671 insertions(+), 338 deletions(-) -- 2.5.5