Re: [dpdk-dev] [PATCH] net/virtio: fix vectorized path receive oversized packets

2021-10-21 Thread Maxime Coquelin
On 9/26/21 11:28, Marvin Liu wrote: If packed ring size is not power of two, it is possible that remained number less than one batch and meanwhile batch operation can pass. This will cause incorrect remained number calculation and then lead to receiving oversized packets. The patch fixed the i

Re: [dpdk-dev] [PATCH] net/virtio: fix vectorized path receive oversized packets

2021-10-15 Thread Maxime Coquelin
On 9/26/21 11:28, Marvin Liu wrote: If packed ring size is not power of two, it is possible that remained number less than one batch and meanwhile batch operation can pass. This will cause incorrect remained number calculation and then lead to receiving oversized packets. The patch fixed the i

[dpdk-dev] [PATCH] net/virtio: fix vectorized path receive oversized packets

2021-09-25 Thread Marvin Liu
If packed ring size is not power of two, it is possible that remained number less than one batch and meanwhile batch operation can pass. This will cause incorrect remained number calculation and then lead to receiving oversized packets. The patch fixed the issue by added remained number check befor