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 39A6148B69 for ; Fri, 21 Nov 2025 12:23:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 327D14026F; Fri, 21 Nov 2025 12:23:41 +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 623F4402E6 for ; Fri, 21 Nov 2025 12:23:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763724218; 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=ifNlk/3GiQv5n2GDj8xMiDDfz/Qb1ohGZg4zhuO7N4E=; b=ZEsqtRNeSKxZONpsxHYZM77qT6xIMWXe/DyGkKyHtdL/wGSPmCB3/gHZvDlfeUjsIh5T0C Mdd3YmOca1XCSCU31X+TTPqOVTE6Ayz3NhjopSYcx2QAG+08Ohoq60ZnG0/dgANc04Dobl cvjVZRTG8qIBiAYUNiU2gOcxNFCXu8M= 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-528-Yd7cgIX9Mkm8dCwa3ManZQ-1; Fri, 21 Nov 2025 06:23:37 -0500 X-MC-Unique: Yd7cgIX9Mkm8dCwa3ManZQ-1 X-Mimecast-MFC-AGG-ID: Yd7cgIX9Mkm8dCwa3ManZQ_1763724216 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 C04051954204; Fri, 21 Nov 2025 11:23:36 +0000 (UTC) Received: from rh.redhat.com (unknown [10.42.28.165]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4FD4730044DB; Fri, 21 Nov 2025 11:23:35 +0000 (UTC) From: Kevin Traynor To: Christophe Fontaine Cc: Pavan Nikhilesh , dpdk stable Subject: patch 'graph: fix xstats description allocation' has been queued to stable release 24.11.4 Date: Fri, 21 Nov 2025 11:20:40 +0000 Message-ID: <20251121112128.485623-56-ktraynor@redhat.com> In-Reply-To: <20251121112128.485623-1-ktraynor@redhat.com> References: <20251121112128.485623-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: jebqZq885Rey4PDeGQPXs7z39O3oKRSWwmOnoF6edfU_1763724216 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 24.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/26/25. 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/175fc1ccd8c3aa88bc26eb15278938e786c3626a Thanks. Kevin --- >From 175fc1ccd8c3aa88bc26eb15278938e786c3626a Mon Sep 17 00:00:00 2001 From: Christophe Fontaine Date: Tue, 28 Oct 2025 12:09:20 +0100 Subject: [PATCH] graph: fix xstats description allocation [ upstream commit cdeb35313438f6a99c6c9233c89746b9bd86f9f6 ] Fix the extended stats name allocation size: instead of allocating RTE_NODE_XSTAT_DESC_SIZE (64 bytes), only sizeof(RTE_NODE_XSTAT_DESC_SIZE) were allocated for each xstat name. Fixes: 070db97e017b ("graph: support node xstats") Signed-off-by: Christophe Fontaine Acked-by: Pavan Nikhilesh --- lib/graph/graph_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graph/graph_stats.c b/lib/graph/graph_stats.c index 80f6d1eae3..180afe7fd4 100644 --- a/lib/graph/graph_stats.c +++ b/lib/graph/graph_stats.c @@ -302,5 +302,5 @@ stats_mem_populate(struct rte_graph_cluster_stats *stats, cluster->stat.xstat_desc = rte_zmalloc_socket(NULL, - sizeof(RTE_NODE_XSTAT_DESC_SIZE) * graph_node->node->xstats->nb_xstats, + RTE_NODE_XSTAT_DESC_SIZE * graph_node->node->xstats->nb_xstats, RTE_CACHE_LINE_SIZE, stats->socket_id); if (cluster->stat.xstat_desc == NULL) { -- 2.51.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-11-21 11:05:11.365189770 +0000 +++ 0056-graph-fix-xstats-description-allocation.patch 2025-11-21 11:05:09.534202122 +0000 @@ -1 +1 @@ -From cdeb35313438f6a99c6c9233c89746b9bd86f9f6 Mon Sep 17 00:00:00 2001 +From 175fc1ccd8c3aa88bc26eb15278938e786c3626a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit cdeb35313438f6a99c6c9233c89746b9bd86f9f6 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index e0fc8fd25c..b87b5707f7 100644 +index 80f6d1eae3..180afe7fd4 100644 @@ -23 +24 @@ -@@ -303,5 +303,5 @@ stats_mem_populate(struct rte_graph_cluster_stats *stats, +@@ -302,5 +302,5 @@ stats_mem_populate(struct rte_graph_cluster_stats *stats,