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 6845448B59 for ; Thu, 20 Nov 2025 13:45:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6305740280; Thu, 20 Nov 2025 13:45:51 +0100 (CET) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mails.dpdk.org (Postfix) with ESMTP id 4AB3940262 for ; Thu, 20 Nov 2025 13:45:50 +0100 (CET) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-477563e28a3so5869025e9.1 for ; Thu, 20 Nov 2025 04:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763642750; x=1764247550; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kbZBFUCVOiA0h+ZcIUqStu0oXpxgHQaE78VWShc2FO8=; b=mwjRSnAOg/tYeh6kjec/fuxbS0aDip+wek1E3zqbxICEYjMDMj8QNoS8MWIPZCNGl4 M5bw4Cz+1Df81S9QQSaDtAZYqJmU+mrqpASJMzsyOL1FYxIISAeCrNu7CADqxJh6ZAot Vjw1573xKZ2rXUbwZ9rcRInhU4z1j7cLZt1qT0gfQxgUCeKlvrevNUx3wfjoxQIhFMZd CebZXtl/e5axbO3zggLKPqw1x/8y2w8A3IbwgLxHdqT1dOIXCFiOBDmaOJIn6GP9lC7/ NSmpbebY1vJt/fXCDFjU4qW9DOOYlqI4Lyb76QKkF9Ax2YQV/aLqB9awi1BwN2GcnlWe ErDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763642750; x=1764247550; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=kbZBFUCVOiA0h+ZcIUqStu0oXpxgHQaE78VWShc2FO8=; b=O4u9Ym9Ziy7VucZaBwHNb2VW0FXqmXs/z3vt4rPcBHiqr1xHWtrBmfLYiomUmbuSY7 N99mmcDwT6SqCHyu8merDqs5pLXPd7IdgnqguQmLxP8mItTVD4QOn6aIstHQcGnhTTZu GxtuwpODAGF8s2hYREFIPzixKyaMjuXah03Nzio/yIehr33AS01b275NGMZgx1BKCfwd OLxyBZGQN3g45qmsE5EsyyXIPJjhlQ+4F9XjGMprIml39Q3xB4lDWiBna2RLbCgFL8+J gYkl6ZgIx7DM4ifSLqYto8wOmh5m5NDh/m4uQOMY/bugwsXzzP/YW0+UPuay7yYinVTU 1kkw== X-Forwarded-Encrypted: i=1; AJvYcCW7AEdqCGPJ4XFb97cZbTiB3R0yZMX9HzgGJAKD/mJ2ObZmkIec6unarbplfiITl/hE0wHeSoM=@dpdk.org X-Gm-Message-State: AOJu0YykzR70Y3j+wh+4nSoPUdJl29nq5AqbN4HsNtw2leUgqTyP4lUP x1PZ09evt0ryGU6Q+iJzsaElBUVfpQtD93c++tSfNclCzfzyzKD3kPb/ X-Gm-Gg: ASbGnct6OUOwYIEPMIacZg/H8A0NcMyaj1o8roF5mO3/NUJ0n+LSG4UplbRSqhuvoW0 JPIkGvTh3gS6r00i3dtlYJmPqxg2SFuKrGHsDMdNkbVW8AgZxSKXQRHBxUBiwMWAjfO/VvLzy25 LVnoByXYQsAvnmWjUuWQF2nqzIipDjQhurbeTP9pBeFESIMgvscq50B0zkN8ixaIyWU2QLeDabV v/Ee21koP+y0LZlVEi6Ht9JxeeWl/rGl3BsZYUTL/Bn4D35VwBW7raqinrnk/3NaoYHsnToKUUh N2A4ExpdMaOzj4mGZfG4F9IucDBRKfusEobRAIoOoDE5dnS9dQ5BOTuO3pdGNJMWdZuM5rTnr1M 8q0/QwuUjtD3duqCPT8D+X6ZkRB+cgXjVymY6mCnCCBrxghOJVMRVpc0kIqjBXyQ9SmoZYH1jZK nP2pNyo+KLaSbgnFGl X-Google-Smtp-Source: AGHT+IGFJcSgl5dQRYQ0/OhmwGEFNYgc7jmFgyrbm50dlT8aparXqaruioSkBLs0nD9a/k7HeRALJg== X-Received: by 2002:a05:600c:3515:b0:477:7a5c:6a8e with SMTP id 5b1f17b1804b1-477b9eb69e3mr22891845e9.9.1763642749518; Thu, 20 Nov 2025 04:45:49 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:f372:8d1a:399f:e8a2]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-477b82d825dsm45937345e9.5.2025.11.20.04.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 04:45:49 -0800 (PST) From: luca.boccassi@gmail.com To: Bing Zhao Cc: Dariusz Sosnowski , Wisam Jaddo , dpdk stable Subject: patch 'app/flow-perf: fix rules array length' has been queued to stable release 22.11.11 Date: Thu, 20 Nov 2025 12:44:43 +0000 Message-ID: <20251120124514.757933-11-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251120124514.757933-1-luca.boccassi@gmail.com> References: <20251112165308.1618107-49-luca.boccassi@gmail.com> <20251120124514.757933-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 22.11.11 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/22/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/aded4ff873cc1c73a4995b13cb8ce4f51247f8f8 Thanks. Luca Boccassi --- >From aded4ff873cc1c73a4995b13cb8ce4f51247f8f8 Mon Sep 17 00:00:00 2001 From: Bing Zhao Date: Mon, 17 Nov 2025 09:28:58 +0200 Subject: [PATCH] app/flow-perf: fix rules array length [ upstream commit a0b148048b3d9960788093b3b94c70af8f04136b ] The array used to save the flow rules pointer was allocated with an incorrect length. 1 more rule space should be appended but not 1 byte. Fixes: 070316d01d3e ("app/flow-perf: add multi-core rule insertion and deletion") Signed-off-by: Bing Zhao Reviewed-by: Dariusz Sosnowski Acked-by: Wisam Jaddo --- app/test-flow-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index e0ef78a840..c95029ccdd 100644 --- a/app/test-flow-perf/main.c +++ b/app/test-flow-perf/main.c @@ -1404,7 +1404,7 @@ insert_flows(int port_id, uint8_t core_id, uint16_t dst_port_id) global_actions[0] = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_JUMP); flows_list = rte_zmalloc("flows_list", - (sizeof(struct rte_flow *) * rules_count_per_core) + 1, 0); + (sizeof(struct rte_flow *) * (rules_count_per_core + 1)), 0); if (flows_list == NULL) rte_exit(EXIT_FAILURE, "No Memory available!\n"); -- 2.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-11-20 12:44:13.188857458 +0000 +++ 0011-app-flow-perf-fix-rules-array-length.patch 2025-11-20 12:44:12.782088080 +0000 @@ -1 +1 @@ -From a0b148048b3d9960788093b3b94c70af8f04136b Mon Sep 17 00:00:00 2001 +From aded4ff873cc1c73a4995b13cb8ce4f51247f8f8 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit a0b148048b3d9960788093b3b94c70af8f04136b ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index b2084b93dd..a8876acf1f 100644 +index e0ef78a840..c95029ccdd 100644 @@ -23 +24 @@ -@@ -1487,7 +1487,7 @@ insert_flows(int port_id, uint8_t core_id, uint16_t dst_port_id) +@@ -1404,7 +1404,7 @@ insert_flows(int port_id, uint8_t core_id, uint16_t dst_port_id)