[dpdk-dev] [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table

Zhang, Qi Z qi.z.zhang at intel.com
Tue Apr 4 02:40:11 CEST 2017



> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Monday, April 3, 2017 6:12 PM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Zhang, Helin
> <helin.zhang at intel.com>; dev at dpdk.org
> Subject: Re: [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table
> 
> 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.zhang at 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?
Will update.
> 
> Thanks,
> ferruh


More information about the dev mailing list