From: Xuan Ding <[email protected]> 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. 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 | 5 ++ doc/guides/rel_notes/release_22_11.rst | 2 + examples/vhost/main.c | 7 +++ lib/vhost/rte_vhost_async.h | 17 +++++++ lib/vhost/version.map | 3 ++ lib/vhost/vhost.c | 69 ++++++++++++++++++++++++-- 6 files changed, 98 insertions(+), 5 deletions(-) -- 2.17.1

