Skip to content

introduce vdpa sample

Xiaolong Ye dpdk-dev 7 versions – Applied

Status from this message: Applied to dpdk-next-virtio/master.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 9 repliesApplied
  2. v72 patches 6 repliesSuperseded
  3. v62 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v52 patches1 replySuperseded
v42 patches2 repliesSuperseded
v32 patches2 repliesSuperseded
v22 patches5 repliesSuperseded

Changes in v8 from the cover letter

* move body of data_init to the main function
* adjust Reviewed-by/Acked-by tag postion

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/2vhost: introduce API to get vDPA device numberlib/librte_vhost/rte_vdpa.h lib/librte_vhost/rte_vhost_version.map lib/librte_vhost/vdpa.c+10 -02 replies
2/2examples/vdpa: introduce a new sample for vDPAMAINTAINERS doc/guides/rel_notes/release_18_11.rst doc/guides/sample_app_ug/index.rst +5 more+633 -16 replies

Reviews trailers per patch

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

PatchXiao WangMaxime Coquelin
1/2A-b R-b
2/2A-b R-b

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

Read the v8 thread

Cover letter [PATCH v8 0/2] introduce vdpa sample

Hi,

This patchset introduces vdpa sample to demonstrate the vDPA use case.

v8 changes:
* move body of data_init to the main function
* adjust Reviewed-by/Acked-by tag postion

v7 changes:
* make vports static
* avoid unnecessary static variable initialization

v6 changes:
* improve the document according to Xiao's comments
* fix a typo, PRIu64 -> PRIx64

v5 changes:
* improve print format and correct from "PRIu64" to "PRIx64"
* use "-c 0x2" to better demonstrate app doesn't need to launch dedicated worker threads for vhost enqueue/dequeue operations in vdpa.rst

v4 changes:
* add client mode support
* improve the format to list the vDPA device info and improve the vdpa.rst accordingly
* remove some useless comments
* add introduction in 18.11 release note.

v3 changes:
* list cmd would show queue number and supported features of vdpa devices.
* address Xiao's review comments

v2 changes:

* fix a compilation error reported by Rosen
* improve create cmd in interactive mode and add two new cmds: list, quit
* add application documentation

Xiaolong Ye (2):
vhost: introduce API to get vDPA device number
examples/vdpa: introduce a new sample for vDPA

 MAINTAINERS                            |   2 +
 doc/guides/rel_notes/release_18_11.rst |   8 +
 doc/guides/sample_app_ug/index.rst     |   1 +
 doc/guides/sample_app_ug/vdpa.rst      | 120 +++++++
 examples/Makefile                      |   2 +-
 examples/vdpa/Makefile                 |  32 ++
 examples/vdpa/main.c                   | 453 +++++++++++++++++++++++++
 examples/vdpa/meson.build              |  16 +
 lib/librte_vhost/rte_vdpa.h            |   3 +
 lib/librte_vhost/rte_vhost_version.map |   1 +
 lib/librte_vhost/vdpa.c                |   6 +
 11 files changed, 643 insertions(+), 1 deletion(-)
 create mode 100644 doc/guides/sample_app_ug/vdpa.rst
 create mode 100644 examples/vdpa/Makefile
 create mode 100644 examples/vdpa/main.c
 create mode 100644 examples/vdpa/meson.build
Signature · 1 line
2.17.1