[PATCH 1/2] net/virtio: fix vDPA device init advertising control queue
David Marchand
david.marchand at redhat.com
Tue Mar 12 15:10:01 CET 2024
On Tue, Mar 12, 2024 at 11:48 AM Maxime Coquelin
<maxime.coquelin at 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.
>
> Fixes: b277308e8868 ("net/virtio-user: advertise control VQ support with vDPA")
> Cc: stable at dpdk.org
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the stable
mailing list