Hi Xuan,

On 2/16/22 08:04, xuan.d...@intel.com wrote:
From: Xuan Ding <xuan.d...@intel.com>

In async data path, call rte_vhost_async_get_inflight_thread_unsafe()
API to directly return the number of inflight packets instead of
maintaining a local variable.

Signed-off-by: Xuan Ding <xuan.d...@intel.com>
---
  examples/vhost/main.c | 28 +++++++++++++++-------------
  examples/vhost/main.h |  1 -
  2 files changed, 15 insertions(+), 14 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to