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 18B5A46091; Wed, 15 Jan 2025 13:59:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D06914025F; Wed, 15 Jan 2025 13:59:48 +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 C9BA7400D7 for ; Wed, 15 Jan 2025 13:59:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736945987; 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=+TQKUjP8bS5YHjqZ+u55IHFFm/h+Tnwa99r7VO42Ir8=; b=TjW/DUgVBLag4bG/Q/WMMHwR9b493npJlxzu5e2kSo4CuehADt830m3T78vDRXS0cbyaSx 3/D1Re9h03xkbk1CYJjPqYetWg43LUTN61dKd71/RKcvzUkmBtnLJob/ESuJe1hMKblJBf dZJh42xu36B7kBFIqXopGqYvHpzmnWs= 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-550-LoUiB1lvOhyEsN1CFi-LEA-1; Wed, 15 Jan 2025 07:59:46 -0500 X-MC-Unique: LoUiB1lvOhyEsN1CFi-LEA-1 X-Mimecast-MFC-AGG-ID: LoUiB1lvOhyEsN1CFi-LEA Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 F08B5195D00C; Wed, 15 Jan 2025 12:59:44 +0000 (UTC) Received: from max-p1.redhat.com (unknown [10.39.208.25]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B3B8B19560AA; Wed, 15 Jan 2025 12:59:42 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, david.marchand@redhat.com, chenbox@nvidia.com Cc: Maxime Coquelin Subject: [PATCH v2 0/4] vhost: fix and improve dequeue error path Date: Wed, 15 Jan 2025 13:59:34 +0100 Message-ID: <20250115125938.2699577-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: sRgxbt17XQEZ-YFj3VtESOEIWvOcb2NknLmQ2a5VKso_1736945985 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 v2: ============== - Add RARP handling refactoring Maxime Coquelin (4): vhost: fix missing packets count reset when not ready vhost: rework dequeue path error handling vhost: rework async dequeue path error handling vhost: improve RARP handling in dequeue paths lib/vhost/virtio_net.c | 80 ++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 45 deletions(-) -- 2.47.1