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 449EF45DB9 for ; Wed, 27 Nov 2024 18:20:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40462402DE; Wed, 27 Nov 2024 18:20:29 +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 3DB1540663 for ; Wed, 27 Nov 2024 18:20:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732728026; 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=XAwwO3qdx2okaeVQ7uQvNcjOBqwf4emoN3L4mS7tmNk=; b=ZUlyyY3eDRI2gxZmtlOw83nD4OWfFAIF9CpmtaIXx8aIXYxRnTl7o6O1NiTilNxqzyE7xK ijWA46efkKEuvS6sAnSUMZ9bRBkFqkzsyN9pdsWxIkDt7wnRqPW/y7TA3VqPiMUs5S1lh1 rkcZrCc9/n7lywvcLT2osH3ufr+bsQo= 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-294-R9ohCRPONwGnHA4TYlbv_A-1; Wed, 27 Nov 2024 12:20:23 -0500 X-MC-Unique: R9ohCRPONwGnHA4TYlbv_A-1 X-Mimecast-MFC-AGG-ID: R9ohCRPONwGnHA4TYlbv_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 79D581956096; Wed, 27 Nov 2024 17:20:22 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.192.52]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E491F300019E; Wed, 27 Nov 2024 17:20:20 +0000 (UTC) From: Kevin Traynor To: Bill Xiang Cc: Maxime Coquelin , dpdk stable Subject: patch 'vdpa: update used flags in used ring relay' has been queued to stable release 21.11.9 Date: Wed, 27 Nov 2024 17:17:31 +0000 Message-ID: <20241127171916.690404-24-ktraynor@redhat.com> In-Reply-To: <20241127171916.690404-1-ktraynor@redhat.com> References: <20241127171916.690404-1-ktraynor@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: QkxDwv0ebdZ3OVZGDAuK8A2aX3x8UdrusHz45FXXdhA_1732728022 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true 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 Hi, FYI, your patch has been queued to stable release 21.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/02/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/af442bc128ae99b1d9011ee7da0cc752bcfbf98b Thanks. Kevin --- >From af442bc128ae99b1d9011ee7da0cc752bcfbf98b Mon Sep 17 00:00:00 2001 From: Bill Xiang Date: Wed, 17 Jul 2024 11:24:47 +0800 Subject: [PATCH] vdpa: update used flags in used ring relay [ upstream commit b3f923fe1710e448c073f03aad2c087ffb6c7a5c ] The vDPA device will work incorrectly if flags such as VRING_USED_F_NO_NOTIFY are not updated correctly. Fixes: b13ad2decc83 ("vhost: provide helpers for virtio ring relay") Signed-off-by: Bill Xiang Reviewed-by: Maxime Coquelin --- lib/vhost/vdpa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c index bd00c9d2c2..75f594b930 100644 --- a/lib/vhost/vdpa.c +++ b/lib/vhost/vdpa.c @@ -159,4 +159,5 @@ rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m) idx_m = s_vring->used->idx; ret = (uint16_t)(idx_m - idx); + vq->used->flags = s_vring->used->flags; while (idx != idx_m) { -- 2.47.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-27 17:17:39.065722347 +0000 +++ 0024-vdpa-update-used-flags-in-used-ring-relay.patch 2024-11-27 17:17:38.180269140 +0000 @@ -1 +1 @@ -From b3f923fe1710e448c073f03aad2c087ffb6c7a5c Mon Sep 17 00:00:00 2001 +From af442bc128ae99b1d9011ee7da0cc752bcfbf98b Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit b3f923fe1710e448c073f03aad2c087ffb6c7a5c ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index a1dd5a753b..8abb073675 100644 +index bd00c9d2c2..75f594b930 100644 @@ -22 +23 @@ -@@ -175,4 +175,5 @@ rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m) +@@ -159,4 +159,5 @@ rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m)