Re: [dpdk-dev] [PATCH v6] net/i40e: add interface to use latest vec path

2018-09-17 Thread Li, Xiaoyun
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, September 17, 2018 22:37 > To: Yigit, Ferruh > Cc: Li, Xiaoyun ; Xing, Beilei ; > Zhang, Qi Z ; dev@dpdk.org; Yang, Zhiyong > ; Richardson, Bruce > Subject: Re: [PATCH v6] net/i40e: add interface t

Re: [dpdk-dev] [PATCH v6] net/i40e: add interface to use latest vec path

2018-09-17 Thread Thomas Monjalon
17/09/2018 16:14, Ferruh Yigit: > On 9/17/2018 10:58 AM, Xiaoyun Li wrote: > > @@ -1078,6 +1078,9 @@ struct i40e_adapter { > > uint64_t pctypes_tbl[I40E_FLOW_TYPE_MAX] __rte_cache_min_aligned; > > uint64_t flow_types_mask; > > uint64_t pctypes_mask; > > + > > + /* For devargs */ > > +

Re: [dpdk-dev] [PATCH v6] net/i40e: add interface to use latest vec path

2018-09-17 Thread Ferruh Yigit
On 9/17/2018 10:58 AM, Xiaoyun Li wrote: > For IA, the AVX2 vector path is only recommended to be used on later > platforms (identified by AVX512 support, like SKL etc.) This is because > performance benchmark shows downgrade when running AVX2 vector path on > early platform (BDW/HSW) in some cases

[dpdk-dev] [PATCH v6] net/i40e: add interface to use latest vec path

2018-09-17 Thread Xiaoyun Li
For IA, the AVX2 vector path is only recommended to be used on later platforms (identified by AVX512 support, like SKL etc.) This is because performance benchmark shows downgrade when running AVX2 vector path on early platform (BDW/HSW) in some cases. But we still observe perf gain with some real w