vhost: introduce DMA vchannel unconfiguration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest2 patches 6 repliesIn review
- v72 patches 3 repliesSuperseded
- v62 patches 2 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 2 patches | 0 replies | Superseded | |
| v4 | 2 patches | 4 replies | Superseded | |
| v3 | 2 patches | 2 replies | Superseded | |
| v2 | 2 patches | 2 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v8 from the cover letter
* Check inflight packets release virtual channel.
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vhost: introduce DMA vchannel unconfigurationdoc/ doc/ lib/ +2 more | +100 | 2 replies | |
| 2/2 | examples/vhost: unconfigure DMA vchannelexamples/ | +8 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Wei Ling | Maxime Coquelin | Chenbo Xia |
|---|---|---|---|
| 1/2 | R-b | R-b | |
| 2/2 | T-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v8 0/2] vhost: introduce DMA vchannel unconfiguration
From: Xuan Ding <[email protected]>
This patchset introduces a new API rte_vhost_async_dma_unconfigure() to help user to manually free DMA vChannels finished to use.
v8:
* Check inflight packets release virtual channel.
v7:
* Add inflight packets processing.
* Fix CI error.
v6:
* Move DMA unconfiguration to the end due to DMA devices maybe reused after destroy_device().
* Refine the doc to claim the DMA device should not be used in vhost after unconfiguration.
v5:
* Use mutex instead of spinlock.
* Improve code readability.
v4:
* Rebase to 22.11 rc1.
* Fix the usage of 'dma_ref_count' to make sure the specified DMA device is not used by any vhost ports before unconfiguration.
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 | 5 ++ doc/guides/rel_notes/release_22_11.rst | 5 ++ examples/vhost/main.c | 8 +++ lib/vhost/rte_vhost_async.h | 20 +++++++ lib/vhost/version.map | 3 ++ lib/vhost/vhost.c | 72 ++++++++++++++++++++++++-- 6 files changed, 108 insertions(+), 5 deletions(-)
Signature · 1 line
2.17.1