[dpdk-dev] [PATCH v5 0/5] net/i40e: implement dynamic mapping of flow types to pctypes
Kirill Rybalchenko
kirill.rybalchenko at intel.com
Wed Oct 4 14:52:08 CEST 2017
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.
v3:
Remove unnecessary bit operations in I40E_PFQF_HENA and I40E_VFQF_HENA registers.
Add new definition in enum i40e_filter_pctype for for invalid pctype.
Fixed bugs in i40e_pctype_to_flowtype and i40e_flowtype_to_pctype functions.
Function rte_pmd_i40e_flow_type_mapping_get returns now full mapping table.
testpmd: changed command syntax from 'pctype mapping...' to
'port config pctype mapping...' and 'show port pctype mapping'
Various small modifications in code style after reviewing.
v4:
Change prototypes of some static functions.
Move declaration of automatic variables to beginning of function.
Move declaration of I40E_FILTER_PCTYPE_INVALID to i40e_ethdev.h
Fix some typos in source filea and documentation.
v5:
Fix code style warnings and documentation.
No functional changes.
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Kirill Rybalchenko (5):
net/i40e: remove unnecessary bit operations
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 | 338 ++++++++++++++++++++++++-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 25 ++
drivers/net/i40e/i40e_ethdev.c | 366 +++++++++-------------------
drivers/net/i40e/i40e_ethdev.h | 23 +-
drivers/net/i40e/i40e_ethdev_vf.c | 36 +--
drivers/net/i40e/i40e_fdir.c | 54 ++--
drivers/net/i40e/i40e_flow.c | 5 +-
drivers/net/i40e/i40e_rxtx.c | 58 +++++
drivers/net/i40e/i40e_rxtx.h | 1 +
drivers/net/i40e/rte_pmd_i40e.c | 94 +++++++
drivers/net/i40e/rte_pmd_i40e.h | 55 +++++
drivers/net/i40e/rte_pmd_i40e_version.map | 3 +
lib/librte_ether/rte_ethdev.c | 8 -
13 files changed, 728 insertions(+), 338 deletions(-)
--
2.5.5
More information about the dev
mailing list