[dpdk-dev] [PATCH v4 0/2] add unsafe API to get inflight packets
Xuan Ding
xuan.ding at intel.com
Mon Sep 27 03:42:57 CEST 2021
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.
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 | 26 +++++++++++---------------
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, 64 insertions(+), 16 deletions(-)
--
2.17.1
More information about the dev
mailing list