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 ABCA74608F; Wed, 15 Jan 2025 11:29:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53F3B402A0; Wed, 15 Jan 2025 11:29:16 +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 26B1E4003C for ; Wed, 15 Jan 2025 11:29:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736936954; 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=p2rKuR1i/F59rgjkaZFbqqY4C9f9ydf1PqHTiKClOWU=; b=ZC5pVV9MdHF92KZ9IdRbUcWbMCb4DaSQZaJq4kAR48VuvGuUrzhQ9XKyhZsPc88fK4P8mi a/8bAPPMy5gwKLBGcpiAcfblxBMZVwj8R1z9IwrIJb4gZUdLBSmLy4GjZPQdlyA9jlXI4E 9oTCL/yBGpyYCVOnqFxA3Ur0LhKff4Q= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-60-g0DAR04wOaiIqatXQpS1_A-1; Wed, 15 Jan 2025 05:29:11 -0500 X-MC-Unique: g0DAR04wOaiIqatXQpS1_A-1 X-Mimecast-MFC-AGG-ID: g0DAR04wOaiIqatXQpS1_A Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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 mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6E02A195606F; Wed, 15 Jan 2025 10:29:10 +0000 (UTC) Received: from max-p1.redhat.com (unknown [10.39.208.25]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 591F73003FDC; Wed, 15 Jan 2025 10:29:07 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, david.marchand@redhat.com, chenbox@nvidia.com Cc: Maxime Coquelin Subject: [PATCH 0/3] vhost: fix and improve dequeue error path Date: Wed, 15 Jan 2025 11:29:02 +0100 Message-ID: <20250115102905.2572035-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: zMD6l2MysFAYCtdTpdna5XBMftnyRsGz7N1zcYeYZFM_1736936950 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true 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 starts with a fix for a regression in the Vhost dequeue error path. The other patches improve the error handling to reduce the chance of such regressions in the future. Maxime Coquelin (3): vhost: fix missing packets count reset when not ready vhost: rework dequeue path error handling vhost: rework async dequeue path error handling lib/vhost/virtio_net.c | 58 ++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 31 deletions(-) -- 2.47.1