Skip to content

add unsafe API to get inflight packets

Xuan Ding dpdk-dev 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 0 repliesNew
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch2 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v6 from the cover letter

* Fixed an issue of infinite loop.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: add unsafe API to check inflight packetsdoc/guides/prog_guide/vhost_lib.rst doc/guides/rel_notes/release_21_11.rst lib/vhost/rte_vhost_async.h +2 more+53 -00 replies
2/2examples/vhost: use API to check inflight packetsexamples/vhost/main.c examples/vhost/main.h+17 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [dpdk-dev] [PATCH v6 0/2] add unsafe API to get inflight packets

This patchset introduces an unsafe API to get the number of inflight packets in DMA engine in some situations. Like vring state changes or device is destroyed. Compared with rte_vhost_async_get_inflight(), this is a lock free version.

v6:
* Fixed an issue of infinite loop.

v5:
* Rebased to the lastest branch.

v4:
* Added use case for API in vhost example.

v3:
* Fixed one typo.
* Revised the doc to be more accuracy.

v2:
* Fixed some format issues.

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    |  5 +++++
 doc/guides/rel_notes/release_21_11.rst |  5 +++++
 examples/vhost/main.c                  | 31 ++++++++++++++------------
 examples/vhost/main.h                  |  1 -
 lib/vhost/rte_vhost_async.h            | 14 ++++++++++++
 lib/vhost/version.map                  |  3 +++
 lib/vhost/vhost.c                      | 26 +++++++++++++++++++++
 7 files changed, 70 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1