Re: [PATCH] virtio/ringtest: fix up need_event math

From: Cornelia Huck
Date: Thu Oct 26 2017 - 04:37:05 EST


On Thu, 26 Oct 2017 04:48:01 +0300
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:

> last kicked event index must be updated unconditionally:
> even if we don't need to kick, we do not want to re-check
> the same entry for events.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> tools/virtio/ringtest/ring.c | 24 +++++++++++++++---------
> 1 file changed, 15 insertions(+), 9 deletions(-)

Acked-by: Cornelia Huck <cohuck@xxxxxxxxxx>

I think virtio_ring_0_9 has the same issue?