On 4/7/2017 4:25 AM, Qi Zhang wrote: > The patch adds 4 APIs to support configurable > PTYPE mapping for i40e device. > rte_pmd_i40e_ptype_mapping_get. > rte_pmd_i40e_ptype_mapping_replace. > rte_pmd_i40e_ptype_mapping_reset. > rte_pmd_i40e_ptype_mapping_update. > The mapping from hardware defined packet type to software defined packet > type can be updated/reset/read out with these APIs. > Also a software ptype with the most significent bit set will be regarded > as a user defined ptype (RTE_PMD_I40E_PTYPE_USER_DEFINE_MASK) so > application can use it to defined its own PTYPE naming system. > > Signed-off-by: Qi Zhang <qi.z.zh...@intel.com> > --- > > v5: > > - Rebase to dpdk-next-net > > v4: > > - Add comment to explain the "user defined" ptype. > > v2: > > - 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 > > drivers/net/i40e/i40e_ethdev.c | 229 > ++++++++++++++++++++++++++++++
Hi Qi, These functions now needs to be moved to "rte_pmd_i40e.c". Can you please rebase patch on top of latest next-net? Thanks, ferruh