On Wed, Mar 13, 2024 at 1:59 PM Maxime Coquelin <maxime.coque...@redhat.com> wrote: > > If the vDPA device advertises control queue support, but > the user neither passes "cq=1" as devarg nor requests > multiple queues, the initialization fails because the > driver tries to setup the control queue without negotiating > related feature. > > This patch enables the control queue at driver level as > soon as the device claims to support it, and not only when > multiple queue pairs are requested. Also, enable the > control queue event if multiqueue feature has not been > negotiated and device start time, and disable it at device > stop time. > > Fixes: b277308e8868 ("net/virtio-user: advertise control VQ support with > vDPA") > Cc: sta...@dpdk.org > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
Reviewed-by: David Marchand <david.march...@redhat.com> -- David Marchand