Skip to content

vhost: introduce rte_vhost_vring_call()

Stefan Hajnoczi dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

* Add internal vhost_vring_call() helper function [Maxime]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: add vhost_vring_call() helperlib/librte_vhost/vhost.h lib/librte_vhost/virtio_net.c+15 -200 replies
2/2vhost: introduce rte_vhost_vring_call()examples/vhost/virtio_net.c examples/vhost_scsi/vhost_scsi.c lib/librte_vhost/rte_vhost.h +2 more+48 -120 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaxime Coquelin
SeriesR-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH v2 0/2] vhost: introduce rte_vhost_vring_call()

v2:
* Add internal vhost_vring_call() helper function [Maxime]

These patches eliminate code duplication for vhost_virtqueue->callfd users by introducing rte_vhost_vring_call() (public API) and vhost_vring_call() (librte_vhost-internal API).

Stefan Hajnoczi (2):
vhost: add vhost_vring_call() helper
vhost: introduce rte_vhost_vring_call()

 lib/librte_vhost/rte_vhost.h           | 15 +++++++++++++++
 lib/librte_vhost/vhost.h               | 12 ++++++++++++
 examples/vhost/virtio_net.c            | 11 ++---------
 examples/vhost_scsi/vhost_scsi.c       |  6 +++---
 lib/librte_vhost/vhost.c               | 21 +++++++++++++++++++++
 lib/librte_vhost/virtio_net.c          | 23 +++--------------------
 lib/librte_vhost/rte_vhost_version.map |  7 +++++++
 7 files changed, 63 insertions(+), 32 deletions(-)
Signature · 1 line
2.14.3