]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/prog_guide/vhost_lib.rst
vhost: add unsafe async API to clear packets
[dpdk.git] / doc / guides / prog_guide / vhost_lib.rst
index 70ce4974df87e440608358a711caf7d0bccb4b29..88740331653e9d515fe5896dce3ecee28a300d9a 100644 (file)
@@ -305,6 +305,11 @@ The following is an overview of some key Vhost API functions:
   This function returns the amount of in-flight packets for the vhost
   queue using async acceleration.
 
+* ``rte_vhost_clear_queue_thread_unsafe(vid, queue_id, **pkts, count)``
+
+  Clear inflight packets which are submitted to DMA engine in vhost async data
+  path. Completed packets are returned to applications through ``pkts``.
+
 Vhost-user Implementations
 --------------------------