[dpdk-dev] [PATCH v9 0/3] net/i40e: configurable PTYPE mapping

Chao Zhu chaozhu at linux.vnet.ibm.com
Thu Apr 13 11:50:01 CEST 2017


> -----Original Message-----
> From: Qi Zhang [mailto:qi.z.zhang at intel.com]
> Sent: 2017年4月12日 21:56
> To: ferruh.yigit at intel.com
> Cc: jingjing.wu at intel.com; helin.zhang at intel.com; jianbo.liu at linaro.org;
> chaozhu at linux.vnet.ibm.com; dev at dpdk.org; Qi Zhang <qi.z.zhang at intel.com>
> Subject: [PATCH v9 0/3] net/i40e: configurable PTYPE mapping
> 
> The patch set create new APIs that help to change the mapping from
hardware
> defined packet type to software defined packet type for i40e NICs.
> Keep these APIs private is because currently they are only meaningful for
> devices that support dynamic PTYPE configuration, which may not be a
general
> device feature.
> 
> v9:
> 
> - Rebase to dpdk-next-net
> 
> v8:
> 
> - Fix compile error on for ARM vPMD
> - Rebase to 17.05-rc1
> 
> v7:
> 
> - Add Altivec vPMD support.
> 
> v6:
> 
> - Update testpmd_func.rst.
> 
> v5:
> 
> - Rebase to dpdk-next-net.
> 
> v4:
> 
> - Add comment to explain the "user defined" ptype.
> 
> v3:
> 
> - Fix compile error when CONFIG_RTE_LIBRTE_I40E_PMD=y in testpmd
> 
> v2:
> 
> - Add testpmd command line:
>   ptype mapping get <port_id> <valid_only>
>   ptype mapping replace <port_id> <target> <mask> <pkt_type>
>   ptype mapping reset <port_id>
>   ptype mapping update <port_id> <hw_ptype> <sw_ptype>
> 
> - Rename APIs to rte_pmd_i40e_ptype_mapping_xxx
> 
> - Add missing API declaration in rte_pmd_i40e_version.map
> 
> - Add missing ptype in check_invalid_pkt_type
> 
> - Fix couple typo error
> 
> Qi Zhang (3):
>   net/i40e: enable per dev PTYPE mapping table
>   net/i40e: configurable PTYPE mapping
>   app/testpmd: add CL for ptype mapping configure
> 
>  app/test-pmd/cmdline.c                      | 372
> ++++++++++++++++++++++++++++
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |  36 +++
>  drivers/net/i40e/i40e_ethdev.c              |   1 +
>  drivers/net/i40e/i40e_ethdev.h              |   5 +
>  drivers/net/i40e/i40e_ethdev_vf.c           |   2 +-
>  drivers/net/i40e/i40e_rxtx.c                |  30 ++-
>  drivers/net/i40e/i40e_rxtx.h                |   3 +-
>  drivers/net/i40e/i40e_rxtx_vec_altivec.c    |  22 +-
>  drivers/net/i40e/i40e_rxtx_vec_neon.c       |   8 +-
>  drivers/net/i40e/i40e_rxtx_vec_sse.c        |  14 +-
>  drivers/net/i40e/rte_pmd_i40e.c             | 230 +++++++++++++++++
>  drivers/net/i40e/rte_pmd_i40e.h             |  86 +++++++
>  drivers/net/i40e/rte_pmd_i40e_version.map   |   4 +
>  13 files changed, 784 insertions(+), 29 deletions(-)
> 
> --
> 2.9.3
Acked-by: Chao Zhu <chaozhu at linux.vnet.ibm.com>



More information about the dev mailing list