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

Wu, Jingjing jingjing.wu at intel.com
Fri Mar 31 02:43:55 CEST 2017



> -----Original Message-----
> From: Zhang, Qi Z
> Sent: Thursday, March 30, 2017 7:30 PM
> To: Wu, Jingjing <jingjing.wu at intel.com>; Zhang, Helin
> <helin.zhang at intel.com>
> Cc: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>
> Subject: [PATCH v4 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.
> 
> 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

Acked-by: Jingjing Wu <jingjing.wu at intel.com>


More information about the dev mailing list