From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3C49343C92 for ; Tue, 12 Mar 2024 15:10:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32BB641101; Tue, 12 Mar 2024 15:10:19 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 269A3402E0 for ; Tue, 12 Mar 2024 15:10:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710252615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0pJrvE29166dX8nWhT19mLC1KPQcKZ+YPUwaxfYOq4M=; b=Cr/9eEgXV5S4ISmBSxa/Zo4qsawFIIa0qkviyCucrLsTv4zJq0oO7H+xPD5lpCd8ztrQRE Ziki39KbOlJRR5zB7bbO6SF9/4b462uvj0Szjc+E/NzH/52doYYhBONMKof6pPHo4/WHhF zoJ4ANtADf28cgkd/AfxFmj34Ddm/DM= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-562-lito8ywJMl6St8XiSXKghQ-1; Tue, 12 Mar 2024 10:10:14 -0400 X-MC-Unique: lito8ywJMl6St8XiSXKghQ-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-5133f5243d7so4566843e87.1 for ; Tue, 12 Mar 2024 07:10:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710252613; x=1710857413; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0pJrvE29166dX8nWhT19mLC1KPQcKZ+YPUwaxfYOq4M=; b=L42AGXZ8iADBcIGDpmTvEaf83/6OhuSPHV+2PmTTF/Od/HmCdlFrE9JWfsL1YmsiiJ sgJ46vcG0gKTLz2mOItc+3tipnsXFMHmTWxT144SiBVp5TvlCDM9pl4xDlgUZu0xM/vT kckiYD89ii4V1d6h0/vtonsbvlSOWTLEuQuI7y1UjrTHD/CREl0HxZy9EvTD/5vG1CHA GcYqLrWFoDxq15PPZZaVWhr1PbkQ1z0cP931iyJW2LhBKwoeQjoCoFr9JTmugTGTsBRu Ahs3qf2sahR0QZx0yGcMxvcHdSbwVLUHBhRBLBl4rUbfp6G7o8kqkLk94aNdjzRbMTD7 Hdzg== X-Forwarded-Encrypted: i=1; AJvYcCVsaNKj6bcZWv9PgHVwjAtUb4YyZ05Sg1R3tiaR2KotsHyx61NtG8CjvFHHzGNmwXbfVFYmNMGCZpMmaX+OLt0= X-Gm-Message-State: AOJu0YyCs/R4YL9jkLhN9iDmy8bIRKDjgG8nehTYOcHl0tqY2EoY08qw B6YWppWyb3NSteKd7djbaH7ZqX7UnufEWhNCu/VIvdy+OmHiZ0ESEyO+TTUkdRYBwaH5mI86F5W Bdj4pxDj+qv1t17x+04ssP5MgV7zIpxIvPfaJ36ZgzwfkIAsEmB/Pv2vcVzgZBCD7kkhLVFUICf OWrF7wc9y4aVZ0NvaSGwY= X-Received: by 2002:a05:6512:292:b0:513:c2c7:573e with SMTP id j18-20020a056512029200b00513c2c7573emr935957lfp.23.1710252612926; Tue, 12 Mar 2024 07:10:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGB8Bxx/UsEiBHuy1udmys30Dtn3xOOO3J1aQp2leZs8CrqBxSiogeh1dAyZt4iU8U3uCL1OxkSrljhF2m/r7c= X-Received: by 2002:a05:6512:292:b0:513:c2c7:573e with SMTP id j18-20020a056512029200b00513c2c7573emr935934lfp.23.1710252612470; Tue, 12 Mar 2024 07:10:12 -0700 (PDT) MIME-Version: 1.0 References: <20240312104849.667036-1-maxime.coquelin@redhat.com> <20240312104849.667036-2-maxime.coquelin@redhat.com> In-Reply-To: <20240312104849.667036-2-maxime.coquelin@redhat.com> From: David Marchand Date: Tue, 12 Mar 2024 15:10:01 +0100 Message-ID: Subject: Re: [PATCH 1/2] net/virtio: fix vDPA device init advertising control queue To: Maxime Coquelin Cc: dev@dpdk.org, chenbox@nvidia.com, schalla@marvell.com, stable@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Tue, Mar 12, 2024 at 11:48=E2=80=AFAM Maxime Coquelin wrote: > > If the vDPA device advertises control queue support, but > the user neither passes "cq=3D1" 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@dpdk.org > > Signed-off-by: Maxime Coquelin Reviewed-by: David Marchand --=20 David Marchand