From patchwork Thu Mar 28 13:08:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 818 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E99E43D6C; Thu, 28 Mar 2024 14:08:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2839440E40; Thu, 28 Mar 2024 14:08:28 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 78021402D8 for ; Thu, 28 Mar 2024 14:08:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711631306; 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; bh=Pd7BKIzm5xk1lyqBOC5InTAhc9k9AswWfZqeau0r2sU=; b=C8IhRgQYygpwJzqpZ9dUX3nXh/yJR6/Ji48THB9sPaNYLfEq7FiTYRMpYhzbDs2dGnTTQo ud6i+R12kqG3OnNuoVo0/IHRx3S0eBLVasuNKzHJbHSw+fZZY5OKbbZMzfGnFw2o0wz5mw u8oXL70ksNC48ppbTWxAMyHVF4RtE1w= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-677-PhNqLnlsM8Ov5AALKlOlCg-1; Thu, 28 Mar 2024 09:08:23 -0400 X-MC-Unique: PhNqLnlsM8Ov5AALKlOlCg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A9E43816F22; Thu, 28 Mar 2024 13:08:21 +0000 (UTC) Received: from max-p1.redhat.com (unknown [10.39.208.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 206A5492BD7; Thu, 28 Mar 2024 13:08:19 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, david.marchand@redhat.com, chenbox@nvidia.com Cc: Maxime Coquelin Subject: [PATCH v2 0/4] Virtio-user queues setup fixes Date: Thu, 28 Mar 2024 14:08:09 +0100 Message-ID: <20240328130813.3696005-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This series aims at fixing several issues found in Virtio-user PMD related to queues setup and cleanup. It has been tested with Vhost-vDPA backend using Nvidia Cx6-Dx vDPA VF. First patch in the series renames the queues iterator helper, so it is not a fix. But I would suggest to have it backported to ease backporting of the fixes. Changes in v2: -------------- - Fix regression in patch 4 reported by CI - Prefix titles with net/virtio-user (David) - Reword patch 2 title (David) - Apply David acks on patches 1-3 Maxime Coquelin (4): net/virtio-user: rename queue iterator net/virtio-user: fix control queue destruction net/virtio-user: fix shadow control queue notification init net/virtio-user: fix control queue allocation .../net/virtio/virtio_user/virtio_user_dev.c | 133 +++++++++--------- 1 file changed, 68 insertions(+), 65 deletions(-)