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/20220310065407.17145-2-xuan.d...@intel.com/) (http://patches.dpdk.org/project/dpdk/patch/20220310065407.17145-3-xuan.d...@intel.com/) --- v2: - rebase to 22.03-rc3. 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 | 7 ++- doc/guides/rel_notes/release_22_03.rst | 4 ++ examples/vhost/main.c | 3 - lib/vhost/rte_vhost_async.h | 25 ++++++++ lib/vhost/version.map | 1 + lib/vhost/virtio_net.c | 79 +++++++++++++++++++++++++- 6 files changed, 113 insertions(+), 6 deletions(-) -- 2.25.1