mbox

[v5,0/2] support to clear in-flight packets for async

Message ID 20220609173404.1769210-1-yuanx.wang@intel.com (mailing list archive)
Headers

Message

Wang, YuanX June 9, 2022, 5:34 p.m. UTC
  These patches support to clear in-flight packets for async dequeue
and introduce thread-safe version of this function.

v5:
- Add dma_id check

v4:
- Rebase to latest DPDK

v3:
- Rebase to latest DPDK

v2:
- Use the thread-safe version in destroy_device

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 |  4 ++
 examples/vhost/main.c                  | 26 +++++--
 lib/vhost/rte_vhost_async.h            | 25 +++++++
 lib/vhost/version.map                  |  1 +
 lib/vhost/virtio_net.c                 | 93 +++++++++++++++++++++++++-
 6 files changed, 149 insertions(+), 8 deletions(-)