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

2020-05-12 Thread Maxime Coquelin
On 5/12/20 4:27 AM, Liu, Yong wrote: > > >> -Original Message- >> From: Maxime Coquelin >> Sent: Monday, May 11, 2020 10:47 PM >> To: Liu, Yong ; Ye, Xiaolong ; >> Yigit, Ferruh ; dev@dpdk.org >> Cc: Maxime Coquelin >> Subject: [PATCH] net/virtio: fix AVX512 datapath selection >> >>

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

2020-05-11 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin > Sent: Monday, May 11, 2020 10:47 PM > To: Liu, Yong ; Ye, Xiaolong ; > Yigit, Ferruh ; dev@dpdk.org > Cc: Maxime Coquelin > Subject: [PATCH] net/virtio: fix AVX512 datapath selection > > The AVX512 packed ring datapath selection was only

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

2020-05-11 Thread Ferruh Yigit
On 5/11/2020 3:47 PM, Maxime Coquelin wrote: > 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 su

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

2020-05-11 Thread 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. Fixes: ccb10995c2ad ("net/virtio: add election