Re: [dpdk-dev] [PATCH v11 6/9] net/virtio: add vectorized packed ring Rx path

2020-04-30 Thread Ferruh Yigit
On 4/30/2020 11:23 AM, Bruce Richardson wrote: > On Thu, Apr 30, 2020 at 10:48:35AM +0100, Ferruh Yigit wrote: >> On 4/28/2020 9:32 AM, Marvin Liu wrote: >>> Optimize packed ring Rx path with SIMD instructions. Solution of >>> optimization is pretty like vhost, is that split path into batch and >>>

Re: [dpdk-dev] [PATCH v11 6/9] net/virtio: add vectorized packed ring Rx path

2020-04-30 Thread Bruce Richardson
On Thu, Apr 30, 2020 at 10:48:35AM +0100, Ferruh Yigit wrote: > On 4/28/2020 9:32 AM, Marvin Liu wrote: > > Optimize packed ring Rx path with SIMD instructions. Solution of > > optimization is pretty like vhost, is that split path into batch and > > single functions. Batch function is further optim

Re: [dpdk-dev] [PATCH v11 6/9] net/virtio: add vectorized packed ring Rx path

2020-04-30 Thread Ferruh Yigit
On 4/28/2020 9:32 AM, Marvin Liu wrote: > Optimize packed ring Rx path with SIMD instructions. Solution of > optimization is pretty like vhost, is that split path into batch and > single functions. Batch function is further optimized by AVX512 > instructions. Also pad desc extra structure to 16 byt