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 E5722489EF for ; Mon, 27 Oct 2025 17:21:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEF144028B; Mon, 27 Oct 2025 17:21:48 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 436624028B for ; Mon, 27 Oct 2025 17:21:48 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-47109187c32so26222275e9.2 for ; Mon, 27 Oct 2025 09:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761582108; x=1762186908; 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=s1jgGPZJOEtWgf2Nd4Fyonqj/d8C0EpleKNBQaaBc/s=; b=jMVsodQZRjq6M+pDFq5gMycO5SHXhbTq1DFvzPvA8q7qUYMnsGPHLtgplysoWscwDH H4yAen2BKI0dwBKEj31qvkLjJ1wXeOyjZ4jdXN30KOn9fRlzcongm3A+yySCstwt3+of 2xDKHJR+VgtNvqdyL08xR13s0rp9vbqmSNGMAzls/icGUi4KCrgdHQAXksGKKBPmdCe0 6ITsRcYzNB0RA/YhpB7QMVelZOORKIlxo2VETpZdugzAEzuurujr+9gZoPjnzNVslct2 QthFi0d1GJblts0jHp5LIhDrRIMedTFpA1Uer9XpjzZ/B8A7KxRiF5HVfLsS51Kn5XA8 al6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761582108; x=1762186908; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :sub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qvKrF4OcdOVeICyAE+Qo5w7aDi66Bm9jfwR25 V4QfAWko2aiBmDcys6 X-Google-Smtp-Source: AGHT+IE3PzxAYvTt8GTgFBJk6PaIaIV5AH79D3ZDrAlM1ROczKrn74uJ+sYP/aR69lR0VZGjDzYNbg== X-Received: by 2002:a05:600c:1554:b0:470:ffd1:782d with SMTP id 5b1f17b1804b1-47717df6c74mr2578445e9.6.1761582107688; Mon, 27 Oct 2025 09:21:47 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:6fc5:c3bc:147e:832c]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-475dd02cbc6sm147773175e9.1.2025.10.27.09.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 09:21:47 -0700 (PDT) From: luca.boccassi@gmail.com To: Thomas Monjalon Cc: Bruce Richardson , dpdk stable Subject: patch 'efd: fix AVX2 support' has been queued to stable release 22.11.11 Date: Mon, 27 Oct 2025 16:19:09 +0000 Message-ID: <20251027162001.3710450-31-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251027162001.3710450-1-luca.boccassi@gmail.com> References: <20251027162001.3710450-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 10/29/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/3828456c69edc5e7de5ac5744098c1afbf14977f Thanks. Luca Boccassi --- >From 3828456c69edc5e7de5ac5744098c1afbf14977f Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Thu, 18 Sep 2025 08:36:14 +0200 Subject: [PATCH] efd: fix AVX2 support [ upstream commit c367b9a07c55025eabe1dd6903f4b0f5c4c5d362 ] When switching to Meson build, the compilation check on CC_SUPPORT_AVX2 became obsolete, thus the case EFD_LOOKUP_AVX2 became dead. The function efd_lookup_internal_avx2() was never called, and its header include rte_efd_x86.h has been removed later. EFD_LOOKUP_AVX2 is chosen at runtime after checking AVX2 availability, so the obsolete build-time check for AVX2 can be simply removed, and the missing include added back. Fixes: 5b9656b157d3 ("lib: build with meson") Fixes: 30a1de105a5f ("lib: remove unneeded header includes") Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- lib/efd/rte_efd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c index 686a137757..d844def87f 100644 --- a/lib/efd/rte_efd.c +++ b/lib/efd/rte_efd.c @@ -24,6 +24,7 @@ #include "rte_efd.h" #if defined(RTE_ARCH_X86) +#include "rte_efd_x86.h" #elif defined(RTE_ARCH_ARM64) #include "rte_efd_arm64.h" #endif @@ -1268,7 +1269,7 @@ efd_lookup_internal(const struct efd_online_group_entry * const group, switch (lookup_fn) { -#if defined(RTE_ARCH_X86) && defined(CC_SUPPORT_AVX2) +#if defined(RTE_ARCH_X86) case EFD_LOOKUP_AVX2: return efd_lookup_internal_avx2(group->hash_idx, group->lookup_table, -- 2.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-10-27 15:54:36.012939341 +0000 +++ 0031-efd-fix-AVX2-support.patch 2025-10-27 15:54:34.807949850 +0000 @@ -1 +1 @@ -From c367b9a07c55025eabe1dd6903f4b0f5c4c5d362 Mon Sep 17 00:00:00 2001 +From 3828456c69edc5e7de5ac5744098c1afbf14977f Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c367b9a07c55025eabe1dd6903f4b0f5c4c5d362 ] + @@ -17 +18,0 @@ -Cc: stable@dpdk.org @@ -26 +27 @@ -index b0e44e5c51..ebf1e0655f 100644 +index 686a137757..d844def87f 100644 @@ -29 +30 @@ -@@ -26,6 +26,7 @@ +@@ -24,6 +24,7 @@ @@ -37 +38 @@ -@@ -1279,7 +1280,7 @@ efd_lookup_internal(const struct efd_online_group_entry * const group, +@@ -1268,7 +1269,7 @@ efd_lookup_internal(const struct efd_online_group_entry * const group,