doc: add vhost async enqueue API usage
authorXuan Ding <xuan.ding@intel.com>
Tue, 21 Jun 2022 07:21:31 +0000 (07:21 +0000)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 1 Jul 2022 13:49:49 +0000 (15:49 +0200)
commit9851c4e339b8e20fe8b56d8fb918e139cbbf2ebd
tree0b1ebd30c5a5cb8be74d25ee6e84755ae82fb78c
parent41f9a1757ffc010cc3debaad9a56af8ad88d0c6d
doc: add vhost async enqueue API usage

This patch updates the correct usage for async enqueue APIs.
The rte_vhost_poll_enqueue_completed() needs to be
called in time to notify the guest of completed packets and
avoid packet loss.

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
doc/guides/prog_guide/vhost_lib.rst