These patches support to clear in-flight packets for async dequeue
and introduce thread-safe version of this function.

note: The patches depend on the following patches
(http://patches.dpdk.org/project/dpdk/patch/20220513025058.12898-5-xuan.d...@intel.com/)
(http://patches.dpdk.org/project/dpdk/patch/20220513025058.12898-6-xuan.d...@intel.com/)

v1->v2:
* Rebase to latest DPDK
* Use the thread-safe version in destroy_device()

RFC->v1:
* Protect vq access with splitlock

Yuan Wang (2):
  vhost: support clear in-flight packets for async dequeue
  example/vhost: support to clear in-flight packets for async dequeue

 doc/guides/prog_guide/vhost_lib.rst    |  8 ++-
 doc/guides/rel_notes/release_22_07.rst |  5 ++
 examples/vhost/main.c                  | 26 +++++++--
 lib/vhost/rte_vhost_async.h            | 25 ++++++++
 lib/vhost/version.map                  |  1 +
 lib/vhost/virtio_net.c                 | 80 +++++++++++++++++++++++++-
 6 files changed, 137 insertions(+), 8 deletions(-)

-- 
2.25.1

Reply via email to