Skip to content

vhost: add unsafe API to get DMA inflight packets

[email protected] dpdk-dev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Changes in v1 from the cover letter

* refine the doc and commit log

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2vhost: add unsafe API to check inflight packetsdoc/guides/prog_guide/vhost_lib.rst doc/guides/rel_notes/release_22_07.rst lib/vhost/rte_vhost_async.h +2 more+57 -02 replies
2/2examples/vhost: use API to check inflight packetsexamples/vhost/main.c examples/vhost/main.h+15 -140 replies

Reviews trailers per patch

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

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

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

Read the v1 thread

Cover letter [PATCH v1 0/2] vhost: add unsafe API to get DMA inflight packets

From: Xuan Ding <[email protected]>

This patchset introduces an unsafe API to get the number of inflight packets in DMA engine. It should be only used within the vhost ops which already holds the lock. Like vring state changes or device is destroyed. Compared with rte_vhost_async_get_inflight(), this is a lock free version.

RFC v1->v1:
* refine the doc and commit log

Xuan Ding (2):
vhost: add unsafe API to check inflight packets examples/vhost: use API to check inflight packets

 doc/guides/prog_guide/vhost_lib.rst    |  6 ++++++
 doc/guides/rel_notes/release_22_07.rst |  4 ++++
 examples/vhost/main.c                  | 28 ++++++++++++++------------
 examples/vhost/main.h                  |  1 -
 lib/vhost/rte_vhost_async.h            | 17 ++++++++++++++++
 lib/vhost/version.map                  |  4 ++++
 lib/vhost/vhost.c                      | 26 ++++++++++++++++++++++++
 7 files changed, 72 insertions(+), 14 deletions(-)
Signature · 1 line
2.17.1