RE: [PATCH] net/vhost: add flag to control wait queuing

2022-06-02 Thread Ling, WeiX
> -Original Message- > From: Yuan Wang > Sent: Wednesday, June 1, 2022 10:26 PM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; He, Xingguang > ; Wang, YuanX ; > sta...@dpdk.org > Subject: [PATCH] net/vhost: add f

[PATCH] net/vhost: add flag to control wait queuing

2022-05-31 Thread Yuan Wang
update_queuing_status prevents PMD queue operations from affecting the data plane by waiting for rx/tx_pkt_burst to stops accessing the vhost device. In fact, it is only necessary to wait when destroy/stop the device, new/start device and vring_state_changed cases do not need. Since vring is locke