vhost: add unsafe API to get DMA inflight packets
Status from this message: Applied to dpdk-next-virtio/main.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v1 from the cover letter
* refine the doc and commit log
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vhost: add unsafe API to check inflight packetsdoc/ doc/ lib/ +2 more | +57 | 2 replies | |
| 2/2 | examples/vhost: use API to check inflight packetsexamples/ examples/ | +15 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Maxime Coquelin |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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