[PATCH v5 2/2] example/vhost: support to clear in-flight packets for async dequeue
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Jun 14 15:28:17 CEST 2022
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 <yuanx.wang at intel.com>
> ---
> examples/vhost/main.c | 26 +++++++++++++++++++++-----
> 1 file changed, 21 insertions(+), 5 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list