Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-12 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, May 12, 2020 6:04 PM > To: Liu, Yong ; Yigit, Ferruh > Cc: dev@dpdk.org; Thomas Monjalon ; David > Marchand ; Richardson, Bruce > ; Nicolau, Radu ; > Luca Boccassi ; Wang, Zhihong > ; Ye, Xiaolong > Subject: Re: [PATCH v2] n

Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-12 Thread Maxime Coquelin
On 5/12/20 10:46 AM, Liu, Yong wrote: > > >> -Original Message- >> From: Maxime Coquelin >> Sent: Tuesday, May 12, 2020 4:36 PM >> To: Liu, Yong ; Yigit, Ferruh >> Cc: dev@dpdk.org; Thomas Monjalon ; David >> Marchand ; Richardson, Bruce >> ; Nicolau, Radu ; >> Luca Boccassi ; Wang,

Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-12 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, May 12, 2020 4:36 PM > To: Liu, Yong ; Yigit, Ferruh > Cc: dev@dpdk.org; Thomas Monjalon ; David > Marchand ; Richardson, Bruce > ; Nicolau, Radu ; > Luca Boccassi ; Wang, Zhihong > ; Ye, Xiaolong > Subject: Re: [PATCH v2] n

Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-12 Thread Maxime Coquelin
On 5/12/20 5:29 AM, Liu, Yong wrote: > > >> -Original Message- >> From: Maxime Coquelin >> Sent: Tuesday, May 12, 2020 3:50 AM >> To: Yigit, Ferruh ; Wang, Zhihong >> ; Ye, Xiaolong ; Liu, >> Yong >> Cc: dev@dpdk.org; Thomas Monjalon ; David >> Marchand ; Richardson, Bruce >> ; Nicol

Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-11 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, May 12, 2020 3:50 AM > To: Yigit, Ferruh ; Wang, Zhihong > ; Ye, Xiaolong ; Liu, > Yong > Cc: dev@dpdk.org; Thomas Monjalon ; David > Marchand ; Richardson, Bruce > ; Nicolau, Radu ; > Luca Boccassi > Subject: Re: [PATCH v2]

Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-11 Thread Ferruh Yigit
On 5/11/2020 8:49 PM, Maxime Coquelin wrote: > > > On 5/11/20 8:48 PM, Ferruh Yigit wrote: >> From: Maxime Coquelin >> >> The AVX512 packed ring datapath selection was only done >> at build time, but it should also be checked at runtime >> that the CPU supports it. >> >> This patch add a CPU fla

Re: [dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-11 Thread Maxime Coquelin
On 5/11/20 8:48 PM, Ferruh Yigit wrote: > From: Maxime Coquelin > > The AVX512 packed ring datapath selection was only done > at build time, but it should also be checked at runtime > that the CPU supports it. > > This patch add a CPU flags check so that non-vectorized > path is selected at r

[dpdk-dev] [PATCH v2] net/virtio: fix AVX512 datapath selection

2020-05-11 Thread Ferruh Yigit
From: Maxime Coquelin The AVX512 packed ring datapath selection was only done at build time, but it should also be checked at runtime that the CPU supports it. This patch add a CPU flags check so that non-vectorized path is selected at runtime if AVX512 is not supported. Also in meson build ena