Re: [dpdk-dev] [PATCH 2/2] net/i40e: configurable PTYPE mapping

2017-03-06 Thread Zhang, Qi Z
Hi Ferruh: Thanks all the good suggestion and help. > -Original Message- > From: Yigit, Ferruh > Sent: Monday, March 6, 2017 11:32 PM > To: Zhang, Qi Z ; Wu, Jingjing > ; Zhang, Helin > Cc: dev@dpdk.org; Lu, Wenzhuo > Subject: Re: [dpdk

Re: [dpdk-dev] [PATCH 2/2] net/i40e: configurable PTYPE mapping

2017-03-06 Thread Ferruh Yigit
On 2/27/2017 4:56 AM, Qi Zhang wrote: > The patch adds 4 APIs to support configurable > PTYPE mapping for i40e device. > rte_pmd_i40e_update_ptype_mapping. > rte_pmd_i40e_reset_ptype_mapping. > rte_pmd_i40e_get_ptype_mapping. > rte_pmd_i40e_replace_ptype_mapping. Hi Qi, These are added as PMD spe

[dpdk-dev] [PATCH 2/2] net/i40e: configurable PTYPE mapping

2017-02-26 Thread Qi Zhang
The patch adds 4 APIs to support configurable PTYPE mapping for i40e device. rte_pmd_i40e_update_ptype_mapping. rte_pmd_i40e_reset_ptype_mapping. rte_pmd_i40e_get_ptype_mapping. rte_pmd_i40e_replace_ptype_mapping. The mapping from hardware defined packet type to software defined packet type can be