Skip to content

RFC add unsafe API to get inflight packets

[email protected] dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 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_22_03.rst lib/vhost/rte_vhost_async.h +2 more+50 -02 replies
2/2examples/vhost: use API to check inflight packetsexamples/vhost/main.c examples/vhost/main.h+15 -141 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMaxime Coquelin
1/2
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 [RFC 0/2] add unsafe API to get inflight packets

From: Xuan Ding <[email protected]>

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.

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_22_03.rst |  4 ++++
 examples/vhost/main.c                  | 28 ++++++++++++++------------
 examples/vhost/main.h                  |  1 -
 lib/vhost/rte_vhost_async.h            | 14 +++++++++++++
 lib/vhost/version.map                  |  1 +
 lib/vhost/vhost.c                      | 26 ++++++++++++++++++++++++
 7 files changed, 65 insertions(+), 14 deletions(-)
Signature · 1 line
2.17.1