Re: [ovs-dev] Deadlock happen when delete vhostuserclient port while qemu destroy virtio

2023-02-28 Thread David Marchand
Hello, On Fri, Feb 24, 2023 at 2:55 AM Han Ding wrote: > >On 2/23/23 10:35, Han Ding wrote: > >> > >> When use ovs-vsctl to delete vhostuserclient port while qemu destroy > >> virtio, > >> there is a deadlock between OVS main thread and the vhost-events thread. > >> > >> openvswitch is 2.14 and

Re: [ovs-dev] Deadlock happen when delete vhostuserclient port while qemu destroy virtio

2023-02-23 Thread Han Ding
>On 2/23/23 10:35, Han Ding wrote: >> >> When use ovs-vsctl to delete vhostuserclient port while qemu destroy virtio, >> there is a deadlock between OVS main thread and the vhost-events thread. >> >> openvswitch is 2.14 and dpdk is 20.11 > >FWIW, 2.14 supposed to be used with 19.11. Thanks for

Re: [ovs-dev] Deadlock happen when delete vhostuserclient port while qemu destroy virtio

2023-02-23 Thread Ilya Maximets
On 2/23/23 10:35, Han Ding wrote: > > When use ovs-vsctl to delete vhostuserclient port while qemu destroy virtio, > there is a deadlock between OVS main thread and the vhost-events thread. > > openvswitch is 2.14 and dpdk is 20.11 FWIW, 2.14 supposed to be used with 19.11. > > Main thread: >

[ovs-dev] Deadlock happen when delete vhostuserclient port while qemu destroy virtio

2023-02-23 Thread Han Ding
When use ovs-vsctl to delete vhostuserclient port while qemu destroy virtio, there is a deadlock between OVS main thread and the vhost-events thread. openvswitch is 2.14 and dpdk is 20.11 Main thread: ofport_remove -> netdev_unref -> netdev_dpdk_vhost_destruct -> rte_vhost_d