add support for packed ring in async vhost
Status from this message: Applied to dpdk-next-virtio/main.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest4 patches 6 repliesApplied
- v84 patches 3 repliesSuperseded
- v74 patches 5 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 4 patches | 0 replies | Superseded | |
| v5 | 4 patches | 8 replies | Superseded | |
| v4 | 4 patches | 0 replies | Superseded | |
| v3 | 1 patch | 2 replies | Superseded | |
| v2 | 1 patch | 2 replies | Superseded | |
| v1 | 1 patch | 0 replies | Superseded |
Changes in v9 from the cover letter
* improve some variable initiation
* fix some variable names for consistency
* rebase on the latest code
Patches in v9 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vhost: abstract and reorganize async split ring codelib/ | +66 | 0 replies | |
| 2/4 | vhost: add support for packed ring in async vhostlib/ lib/ lib/ +1 more | +489 | 2 replies | |
| 3/4 | vhost: add batch datapath for async vhost packed ringlib/ | +37 | 1 reply | |
| 4/4 | doc: add release note for vhost async packed ringdoc/ | +4 | 2 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Maxime Coquelin | Jiayu Hu |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | R-b |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v9 0/4] add support for packed ring in async vhost
For now async vhost data path only supports split ring structure. In order to make async vhost compatible with virtio 1.1 spec this patch set cleans async split ring codes and enables packed ring in async vhost data path. Batch datapath is also enabled in async vhost packed ring.
v9:
* improve some variable initiation
* fix some variable names for consistency
* rebase on the latest code
v8:
* fix some variable names for consistency
* clean codes
v7:
* fix compile issues
* add argument *dev in vhost_free_async_mem() for ring type decision
v6:
* fix some typos in commit log
* improve index usage
* remove shadow_ring_store()
* add store_dma_desc_info_split() store_dma_desc_info_packed()
* remove some checks in vhost_free_async_mem()
* change index calculation since the size isn't necessarily a power of 2
* move error handling in a dedicated function
* clean codes
v5:
* clean some codes for packed ring datapath
* fix an index error in shadow_ring_store()
v4:
* change the patch structure
* clean code for async split ring
* reuse some code from split ring
* change the error handler for DMA-copy packet
* add check for malloc
* remove useless code
* add doc update
v3:
* fix error handler for DMA-copy packet
v2:
* fix wrong buffer index in rte_vhost_poll_enqueue_completed()
* add async_buffers_packed memory free in vhost_free_async_mem()
Cheng Jiang (4):
vhost: abstract and reorganize async split ring code
vhost: add support for packed ring in async vhost
vhost: add batch datapath for async vhost packed ring
doc: add release note for vhost async packed ring
doc/guides/rel_notes/release_21_05.rst | 4 + lib/vhost/rte_vhost_async.h | 1 + lib/vhost/vhost.c | 79 +++- lib/vhost/vhost.h | 15 +- lib/vhost/virtio_net.c | 598 +++++++++++++++++++++---- 5 files changed, 587 insertions(+), 110 deletions(-)
--
2.29.2