[PATCH v3 0/2] vhost: introduce DMA vchannel unconfiguration
xuan.ding at intel.com
xuan.ding at intel.com
Thu Sep 29 03:32:41 CEST 2022
From: Xuan Ding <xuan.ding at 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
More information about the dev
mailing list