Yuan Wang 4cc4f3ee12 examples/vhost: support clear in-flight for async dequeue
This patch allows vring_state_changed() to clear in-flight
dequeue packets. It also clears the in-flight packets in
a thread-safe way in destroy_device().

Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
2022-06-17 15:19:58 +02:00
..
2021-10-24 13:37:43 +02:00
2021-10-22 18:15:38 +02:00
2022-02-12 12:07:48 +01:00
2021-10-22 18:15:38 +02:00
2022-01-11 12:16:53 +01:00
2021-10-22 18:15:38 +02:00
2022-01-11 12:16:53 +01:00
2021-10-22 18:15:38 +02:00