Skip to content

add async data path in vhost sample

Cheng Jiang dpdk-dev 10 versions – Applied

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

  1. v10 Latest4 patches 13 repliesApplied
  2. v94 patches 2 repliesSuperseded
  3. v84 patches 0 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v74 patches0 repliesSuperseded
v64 patches1 replySuperseded
v54 patches1 replySuperseded
v44 patches2 repliesSuperseded
v34 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v10 from the cover letter

* Fixed compilation issue on specific environment

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/4example/vhost: add async vhost args parsing functionexamples/vhost/ioat.c examples/vhost/ioat.h examples/vhost/main.c +1 more+174 -11 reply
2/4example/vhost: add support for vhost async data pathexamples/vhost/ioat.c examples/vhost/ioat.h examples/vhost/main.c +1 more+169 -11 reply
3/4doc: update vhost sample doc for vhost async data pathdoc/guides/sample_app_ug/vhost.rst+11 -01 reply
4/4doc: update release notes for vhost sampledoc/guides/rel_notes/release_20_11.rst+6 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMaxime Coquelin
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [dpdk-dev] [PATCH v10 0/4] add async data path in vhost sample

This patch set makes vhost-vswitch be able to use vhost async APIs for enqueue operations. Demonstrated how the application leverage IOAT DMA channel with vhost async APIs.

We introduce two parameters to enable DMA acceleration for Tx operations of queues:
-dma_type This parameter is used to specify DMA type for async vhost-user net driver.
-dmas This parameter is used to specify the assigned DMA device of a vhost device and enable async vhost data path.

---
v10:
* Fixed compilation issue on specific environment

v9:
* Optimized code structure to solve compilation issue on non-x86 platforms

v8:
* Changed meson build file due to the change of ioat component name

v7:
* Improved IOAT callbacks and added some comments

v6:
* Cleand code and rebased for latest code

v5:
* Improved meson build file and fixed dependency problem

v4:
* Code rebased for latest IOAT driver

v3:
* Fixed a coding style problem

v2:
* Changed meson build file to fix dependency problem
* Added parameter description in usage function
* Optimized parameter settings and parsing function
* Optimized abstraction, moved some code to ioat.c

Cheng Jiang (4):
example/vhost: add async vhost args parsing function example/vhost: add support for vhost async data path
doc: update vhost sample doc for vhost async data path
doc: update release notes for vhost sample

 doc/guides/rel_notes/release_20_11.rst |   6 +
 doc/guides/sample_app_ug/vhost.rst     |  11 ++
 examples/vhost/ioat.c                  | 201 +++++++++++++++++++++++++
 examples/vhost/ioat.h                  |  45 ++++++
 examples/vhost/main.c                  |  93 +++++++++++-
 examples/vhost/main.h                  |   1 +
 examples/vhost/meson.build             |   5 +
 7 files changed, 360 insertions(+), 2 deletions(-)
 create mode 100644 examples/vhost/ioat.c
 create mode 100644 examples/vhost/ioat.h

--
2.27.0