RE: [PATCH v5 1/2] vhost: support clear in-flight packets for async dequeue

2022-06-14 Thread Hu, Jiayu
> -Original Message- > From: Wang, YuanX > Sent: Friday, June 10, 2022 1:34 AM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; Ding, Xuan ; Pai > G, Sunil ; Wang, YuanX > Subject: [PATCH v5 1/2] vhost: support clear in-flight packets for async > dequeue

Re: [PATCH v5 1/2] vhost: support clear in-flight packets for async dequeue

2022-06-14 Thread Maxime Coquelin
On 6/9/22 19:34, Yuan Wang wrote: rte_vhost_clear_queue_thread_unsafe() supports to clear in-flight packets for async enqueue only. But after supporting async dequeue, this API should support async dequeue too. This patch also adds the thread-safe version of this API, the difference between t