Re: [dpdk-dev] [dpdk-stable] [DPDK] net/virtio: fix check scatter on all Rx queues

2021-09-30 Thread David Marchand
On Wed, Sep 22, 2021 at 10:13 AM Peng, ZhihongX wrote: > > On 15/09/2021 19:37, David Marchand wrote: > > > On Wed, Aug 4, 2021 at 10:36 AM wrote: > > >> > > >> From: Zhihong Peng > > >> > > >> This patch fixes the wrong way to obtain virtqueue. > > >> The end of virtqueue cannot be judged based

Re: [dpdk-dev] [dpdk-stable] [DPDK] net/virtio: fix check scatter on all Rx queues

2021-09-22 Thread Peng, ZhihongX
> -Original Message- > From: Kevin Traynor > Sent: Wednesday, September 22, 2021 1:45 AM > To: David Marchand ; Peng, ZhihongX > > Cc: Xia, Chenbo ; Maxime Coquelin > ; dev ; Ivan Ilchenko > ; dpdk stable ; Christian > Ehrhardt ; Xueming(Steven) Li > ; Luca Boccassi > Subject: Re: [dpd

Re: [dpdk-dev] [dpdk-stable] [DPDK] net/virtio: fix check scatter on all Rx queues

2021-09-21 Thread Kevin Traynor
On 15/09/2021 19:37, David Marchand wrote: On Wed, Aug 4, 2021 at 10:36 AM wrote: From: Zhihong Peng This patch fixes the wrong way to obtain virtqueue. The end of virtqueue cannot be judged based on whether the array is NULL. Indeed, good catch. I can reproduce a crash with v20.11.3 whic

Re: [dpdk-dev] [dpdk-stable] [DPDK] net/virtio: fix check scatter on all Rx queues

2021-09-15 Thread David Marchand
On Wed, Aug 4, 2021 at 10:36 AM wrote: > > From: Zhihong Peng > > This patch fixes the wrong way to obtain virtqueue. > The end of virtqueue cannot be judged based on whether > the array is NULL. Indeed, good catch. I can reproduce a crash with v20.11.3 which has backport of 4e8169eb0d2d. I can