git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: fix numbers power of 2 in LPM6 guide
[dpdk.git]
/
doc
/
guides
/
prog_guide
/
vhost_lib.rst
diff --git
a/doc/guides/prog_guide/vhost_lib.rst
b/doc/guides/prog_guide/vhost_lib.rst
index
70ce497
..
171e009
100644
(file)
--- a/
doc/guides/prog_guide/vhost_lib.rst
+++ b/
doc/guides/prog_guide/vhost_lib.rst
@@
-235,13
+235,6
@@
The following is an overview of some key Vhost API functions:
Currently, only ``RTE_VHOST_ASYNC_INORDER`` capable device is
supported by vhost.
Currently, only ``RTE_VHOST_ASYNC_INORDER`` capable device is
supported by vhost.
- * ``async_threshold``
-
- The copy length (in bytes) below which CPU copy will be used even if
- applications call async vhost APIs to enqueue/dequeue data.
-
- Typical value is 256~1024 depending on the async device capability.
-
Applications must provide following ``ops`` callbacks for vhost lib to
work with the async copy devices:
Applications must provide following ``ops`` callbacks for vhost lib to
work with the async copy devices:
@@
-305,6
+298,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.
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
--------------------------
Vhost-user Implementations
--------------------------