Re: [RFC 2/2] examples/vhost: use API to check inflight packets

2022-03-28 Thread Maxime Coquelin
Hi Xuan, On 2/16/22 08:04, xuan.d...@intel.com wrote: From: Xuan Ding 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 --- examples/vhost/main.c | 28

[RFC 2/2] examples/vhost: use API to check inflight packets

2022-02-15 Thread xuan . ding
From: Xuan Ding 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 --- examples/vhost/main.c | 28 +++- examples/vhost/main.h | 1