[dpdk-dev] [PATCH v3 5/5] doc: update doc for try drain API in vhost lib
Cheng Jiang
cheng1.jiang at intel.com
Wed Jul 14 11:01:09 CEST 2021
update the program guide and release notes for try drain API in vhost
lib.
Signed-off-by: Cheng Jiang <cheng1.jiang at intel.com>
---
doc/guides/prog_guide/vhost_lib.rst | 5 +++++
doc/guides/rel_notes/release_21_08.rst | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst
index d18fb98910..85aabc4a75 100644
--- a/doc/guides/prog_guide/vhost_lib.rst
+++ b/doc/guides/prog_guide/vhost_lib.rst
@@ -281,6 +281,11 @@ The following is an overview of some key Vhost API functions:
Poll enqueue completion status from async data path. Completed packets
are returned to applications through ``pkts``.
+* ``rte_vhost_try_drain_queue_thread_unsafe(vid, queue_id, **pkts, count, times)``
+
+ Try to drain in-flight packets which are submitted to DMA engine in vhost async data
+ path. Completed packets are returned to applications through ``pkts``.
+
Vhost-user Implementations
--------------------------
diff --git a/doc/guides/rel_notes/release_21_08.rst b/doc/guides/rel_notes/release_21_08.rst
index a6ecfdf3ce..d1e5df2003 100644
--- a/doc/guides/rel_notes/release_21_08.rst
+++ b/doc/guides/rel_notes/release_21_08.rst
@@ -55,6 +55,11 @@ New Features
Also, make sure to start the actual text at the margin.
=======================================================
+* **Added try drain API in vhost library.**
+
+ Added an API which can try to drain the inflight packets submitted to DMA
+ engine in vhost async data path.
+
Removed Items
-------------
--
2.29.2
More information about the dev
mailing list