RE: [PATCH] net/virtio: fix crash when dev is configured twice

2022-09-26 Thread Xia, Chenbo
> -Original Message- > From: Alexander Chernavin > Sent: Wednesday, August 31, 2022 4:54 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Alexander Chernavin > Subject: [PATCH] net/virtio: fix crash when dev is configured twice > > When firs

[PATCH] net/virtio: fix crash when dev is configured twice

2022-08-31 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin

[PATCH] net/virtio: fix crash when dev is configured twice

2022-08-31 Thread Alexander Chernavin
When first attempt to configure a device with RX interrupt enabled fails for some reason (e.g. because "Multiple intr vector not supported"), second attempt to configure the device with RX interrupt disabled and feature set unchanged will succeed but will leave virtio queues not allocated. Accessin