examples/vhost: sample code refactor
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 Latest2 patches 4 repliesApplied
- v82 patches 3 repliesSuperseded
- v72 patches 2 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 2 patches | 3 replies | Superseded | |
| v5 | 2 patches | 0 replies | Superseded | |
| v4 | 2 patches | 4 replies | Superseded | |
| v3 | 2 patches | 0 replies | Superseded | |
| v2 | 2 patches | 0 replies | Superseded | |
| v1 | 3 patches | 0 replies | Superseded |
Changes in v9 from the cover letter
* migrated atomic_XXX to __atomic_XXX and updated git log
Patches in v9 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | examples/vhost: add ioat ring space count and checkexamples/ | +13 | 2 replies | |
| 2/2 | examples/vhost: refactor vhost data pathexamples/ examples/ examples/ | +178 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jiayu Hu | Maxime Coquelin |
|---|---|---|
| 1/2 | R-b | R-b R-b |
| 2/2 | R-b | 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/2] examples/vhost: sample code refactor
Refactor the vhost sample code. Add ioat ring space count and check in ioat callback, optimize vhost data path for batch enqueue, replace rte_atomicNN_xxx to __atomic_XXX and refactor vhost async data path.
---
v9:
* migrated atomic_XXX to __atomic_XXX and updated git log
v8:
* rebased codes
v7:
* fixed rte_ioat_completed_ops() fail handler issue
v6:
* adjusted the value of MAX_ENQUEUED_SIZE in ioat.h
v5:
* added vhost enqueue buffer free when destroy a vhost device
* added rte_ioat_completed_ops() fail handler
* changed the behavior of drain_vhost_table() function
* changed some variable names
* changed some variable definition
* added rte_zmalloc() fail handler
* added some comments
* fixed some typos
v4:
* improved code structure
* improved vhost enqueue buffer memory allocation
* cleaned some codes
v3:
* added some variable initiation
* cleaned some codes
v2:
* optimized patch structure
* optimized git log
* replaced rte_atomicNN_xxx to atomic_XXX
Cheng Jiang (2):
examples/vhost: add ioat ring space count and check examples/vhost: refactor vhost data path
examples/vhost/ioat.c | 24 +++-- examples/vhost/ioat.h | 2 +- examples/vhost/main.c | 238 ++++++++++++++++++++++++++++++------------ examples/vhost/main.h | 6 +- 4 files changed, 191 insertions(+), 79 deletions(-)
--
2.29.2