RE: [PATCH v5 2/2] example/vhost: support to clear in-flight packets for async dequeue

2022-06-14 Thread Hu, Jiayu
CH v5 2/2] example/vhost: support to clear in-flight packets for > async dequeue > > This patch allows vring_state_changed() to clear in-flight dequeue packets. It > also clears the in-flight packets in a thread-safe way in destroy_device(). > > Signed-off-by: Yuan

Re: [PATCH v5 2/2] example/vhost: support to clear in-flight packets for async dequeue

2022-06-14 Thread Maxime Coquelin
On 6/9/22 19:34, Yuan Wang wrote: This patch allows vring_state_changed() to clear in-flight dequeue packets. It also clears the in-flight packets in a thread-safe way in destroy_device(). Signed-off-by: Yuan Wang --- examples/vhost/main.c | 26 +- 1 file changed,

[PATCH v5 2/2] example/vhost: support to clear in-flight packets for async dequeue

2022-06-09 Thread Yuan Wang
This patch allows vring_state_changed() to clear in-flight dequeue packets. It also clears the in-flight packets in a thread-safe way in destroy_device(). Signed-off-by: Yuan Wang --- examples/vhost/main.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --