From: Xuan Ding <xuan.d...@intel.com> This patchset introduces a new API rte_vhost_async_dma_unconfigure() to help user to manually free the DMA vchannel finished to use.
Note: this API should be called after async channel unregister. v3: * Rebase to latest DPDK. * Refine some descriptions in the doc. * Fix one bug in the vhost example. v2: * Add spinlock protection. * Fix a memory leak issue. * Refine the doc. Xuan Ding (2): vhost: introduce DMA vchannel unconfiguration examples/vhost: unconfigure DMA vchannel doc/guides/prog_guide/vhost_lib.rst | 6 +++ doc/guides/rel_notes/release_22_11.rst | 3 ++ examples/vhost/main.c | 45 ++++++++++++----- examples/vhost/main.h | 1 + lib/vhost/rte_vhost_async.h | 18 +++++++ lib/vhost/version.map | 3 ++ lib/vhost/vhost.c | 69 ++++++++++++++++++++++++-- 7 files changed, 127 insertions(+), 18 deletions(-) -- 2.17.1