Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-27 Thread Ferruh Yigit
On 10/26/2020 7:12 AM, Rong, Leyi wrote: -Original Message- From: David Marchand Sent: Monday, October 26, 2020 12:24 AM To: Rong, Leyi ; Zhang, Qi Z ; Yigit, Ferruh Cc: Lu, Wenzhuo ; dev ; Richardson, Bruce ; Thomas Monjalon Subject: Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add

Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-27 Thread Bruce Richardson
On Mon, Oct 26, 2020 at 09:09:31AM +0100, David Marchand wrote: > On Mon, Oct 26, 2020 at 8:13 AM Rong, Leyi wrote: > > Would prefer using __AVX512F__ instead of RTE_MACHINE_CPUFLAG_AVX512F here > > rather than remove the RTE_MACHINE_CPUFLAG_ macro directly to check the CPU > > capability. > > S

Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-27 Thread Ali Alnubani
dpdk.org; Leyi Rong ; Bruce Richardson > > > > Subject: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path > > > > Add AVX512 support for ice PMD. This patch adds ice_rxtx_vec_avx512.c > > to support ice AVX512 vPMD. > > > > This patch aims to ena

Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-27 Thread Ali Alnubani
Hi, > -Original Message- > From: dev On Behalf Of Leyi Rong > Sent: Friday, October 23, 2020 7:14 AM > To: qi.z.zh...@intel.com; wenzhuo...@intel.com; > burce.richard...@intel.com > Cc: dev@dpdk.org; Leyi Rong ; Bruce Richardson > > Subject: [dpdk-dev] [PATCH v4

Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-26 Thread David Marchand
On Mon, Oct 26, 2020 at 8:13 AM Rong, Leyi wrote: > Would prefer using __AVX512F__ instead of RTE_MACHINE_CPUFLAG_AVX512F here > rather than remove the RTE_MACHINE_CPUFLAG_ macro directly to check the CPU > capability. > So the judgment statement will be > if cc.get_define('__AVX512F__', args: m

Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-26 Thread Rong, Leyi
> -Original Message- > From: David Marchand > Sent: Monday, October 26, 2020 12:24 AM > To: Rong, Leyi ; Zhang, Qi Z ; > Yigit, > Ferruh > Cc: Lu, Wenzhuo ; dev ; Richardson, > Bruce ; Thomas Monjalon > > Subject: Re: [dpdk-dev] [PATCH v4 1/3] n

Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-25 Thread David Marchand
Hello Leyi, Qi, Ferruh, On Fri, Oct 23, 2020 at 6:37 AM Leyi Rong wrote: > diff --git a/drivers/net/ice/meson.build b/drivers/net/ice/meson.build > index 254595af85..85e8baf912 100644 > --- a/drivers/net/ice/meson.build > +++ b/drivers/net/ice/meson.build > @@ -34,6 +34,17 @@ if arch_subdir == 'x

[dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-22 Thread Leyi Rong
Add AVX512 support for ice PMD. This patch adds ice_rxtx_vec_avx512.c to support ice AVX512 vPMD. This patch aims to enable AVX512 on ice vPMD. Main changes are focus on Rx path compared with AVX2 vPMD. Signed-off-by: Leyi Rong Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_rxtx.c