On 4/3/2017 11:51 AM, Qi Zhang wrote: > The mapping from hardware defined packet type to software defined > packet type is static for i40e device, the patch let each ethdev to > to have their own copy of mapping table, this give the possibility > that different ethdev can be set different PTYPE mapping rule which > is the requirement to support following hardware's dynamic PTYPE > feature. > > Signed-off-by: Qi Zhang <qi.z.zh...@intel.com> > --- > v5: > > - Rebase to dpdk-next-net > > 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_neon.c | 8 +++++--- > drivers/net/i40e/i40e_rxtx_vec_sse.c | 14 ++++++++------
I40e PowerPC altivec vector PMD added recently, it is still only in next-net, should this patch update that file too? Thanks, ferruh