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 A9E304602E; Thu, 16 Jan 2025 10:54:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9368740613; Thu, 16 Jan 2025 10:54:28 +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 A215C4025F for ; Thu, 16 Jan 2025 10:54:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737021266; 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=IZKrsBGD98rH3DUojWx112N1ROREOQGEU+CwBIEP8a4=; b=bYM48DE/Kc/9VC5WGqV2OKDz2Vt2OHkvGIAehQlfAn8R5vqMZF3qroV5pUcyy4WM20SAXQ xUwapTfwuv3qgrQdZeOuWI8FTxw5rova2Y0iweupgHLpghtEm9nS88OcGKB5o6M2Zseerl Z3DlCdyB5PuSdzBwLnoCDylKebsyBtM= 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-536-yf3lzkWLMtqboN_kydTb-Q-1; Thu, 16 Jan 2025 04:54:22 -0500 X-MC-Unique: yf3lzkWLMtqboN_kydTb-Q-1 X-Mimecast-MFC-AGG-ID: yf3lzkWLMtqboN_kydTb-Q Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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 F35CE1956053; Thu, 16 Jan 2025 09:54:21 +0000 (UTC) Received: from max-p1.redhat.com (unknown [10.39.208.25]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A808C19560A3; Thu, 16 Jan 2025 09:54:19 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, david.marchand@redhat.com, chenbox@nvidia.com Cc: Maxime Coquelin Subject: [PATCH v3 0/3] vhost: fix and improve dequeue error path Date: Thu, 16 Jan 2025 10:54:13 +0100 Message-ID: <20250116095416.3655699-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: oG289W_pfXHLnDGv6bVrK2fR5Dz_cDqWTm7GTAp070k_1737021262 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. Changes in v3: ============== - Squashed patches 2 & 3 (David) - Simplify RARP handling further (David Changes in v2: ============== - Add RARP handling refactoring Maxime Coquelin (3): vhost: fix missing packets count reset when not ready vhost: rework dequeue paths error handling vhost: improve RARP handling in dequeue paths lib/vhost/virtio_net.c | 110 ++++++++++++++++++----------------------- 1 file changed, 47 insertions(+), 63 deletions(-) -- 2.47.1