Re: [dpdk-dev] [PATCH v2] net/virtio: fix crash when device reconnecting

2020-05-07 Thread Wang, Yinan
Tested-by: Wang, Yinan > -Original Message- > From: dev On Behalf Of Maxime Coquelin > Sent: 2020年5月7日 22:18 > To: Liu, Yong ; Ye, Xiaolong ; > Wang, Zhihong > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: fix crash when device > reconnectin

Re: [dpdk-dev] [PATCH v2] net/virtio: fix crash when device reconnecting

2020-05-07 Thread Maxime Coquelin
On 5/6/20 5:07 PM, Marvin Liu wrote: > When doing virtio device initialization, virtqueues will be reset in > server mode if ring type is packed. It will cause issue because queues > have been freed in the beginning of device initialization. > > Fix this issue by checking whether device has bee

Re: [dpdk-dev] [PATCH v2] net/virtio: fix crash when device reconnecting

2020-05-07 Thread Maxime Coquelin
On 5/6/20 5:07 PM, Marvin Liu wrote: > When doing virtio device initialization, virtqueues will be reset in > server mode if ring type is packed. It will cause issue because queues > have been freed in the beginning of device initialization. > > Fix this issue by checking whether device has bee