[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220519160434.5s5jzwdmajewpqvg@sgarzare-redhat>
Date: Thu, 19 May 2022 18:04:34 +0200
From: Stefano Garzarella <sgarzare@...hat.com>
To: Eugenio Pérez <eperezma@...hat.com>
Cc: mst@...hat.com, jasowang@...hat.com, lvivier@...hat.com,
netdev@...r.kernel.org, lulu@...hat.com, eli@...lanox.com,
parav@...dia.com, virtualization@...ts.linux-foundation.org,
kvm@...r.kernel.org, lingshan.zhu@...el.com,
linux-kernel@...r.kernel.org, gdawar@...inx.com
Subject: Re: [PATCH v2] vdpasim: allow to enable a vq repeatedly
On Thu, May 19, 2022 at 04:59:19PM +0200, Eugenio Pérez wrote:
>Code must be resilient to enable a queue many times.
>
>At the moment the queue is resetting so it's definitely not the expected
>behavior.
>
>v2: set vq->ready = 0 at disable.
>
>Fixes: 2c53d0f64c06 ("vdpasim: vDPA device simulator")
>Cc: stable@...r.kernel.org
>Signed-off-by: Eugenio Pérez <eperezma@...hat.com>
>---
> drivers/vdpa/vdpa_sim/vdpa_sim.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Stefano Garzarella <sgarzare@...hat.com>
Powered by blists - more mailing lists