Hi Xuan,

On 2/16/22 08:04, [email protected] wrote:
From: Xuan Ding <[email protected]>

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 <[email protected]>
---
  examples/vhost/main.c | 28 +++++++++++++++-------------
  examples/vhost/main.h |  1 -
  2 files changed, 15 insertions(+), 14 deletions(-)


Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to