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 A18EF4624E for ; Mon, 17 Feb 2025 18:05:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C41B400EF; Mon, 17 Feb 2025 18:05:17 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id 5526F400D6 for ; Mon, 17 Feb 2025 18:05:16 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4396d2e32b7so17760305e9.0 for ; Mon, 17 Feb 2025 09:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739811916; x=1740416716; 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=J1dmJpa5AXAsOM3OqrT2DBguEcfFeu4ZHmd3rxYTxeQ=; b=YKE82t8JGy//y0Ge7/Zk/idZ8ASs7bkMvFWdMrrlLDOvMZ6AaFlOaiJmIvAL6le9Zy +G2Wv/CjDCdsqsD/tzmDFRvvz/vB9h1UFObKn7rszXzA48WGRzXPqiR+of+7raTBOm96 EY36wyXtKOYo05aSOu7bg4M1mTy8jq2x9ZZENJhm4kQZiFG1+BApBO32tj3Y6AZJP1a1 U8Xcy6od66hWHNc/z+X7k2yw11mA0xq2chE0a3zyfd2/4HaJhOaK2tKyteeuA6yBgpjq FpFhazLSwHbWFDuH3wlMHXQruO7Z+7OQgudjMI4Y5qNrXaOCU+n6xmNufycRJjtQk14V 87Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739811916; x=1740416716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J1dmJpa5AXAsOM3OqrT2DBguEcfFeu4ZHmd3rxYTxeQ=; b=uqBTlMBaZ/bk2Oq9gZ2V1dLCKZZ9wqtseZumlDYYmLm9KgRCamV8C200xxI0JeL3wk zmGFNG08py4eRLhLZrXIJ2cu6h1qynCTRmgePoSJY5ytibmcZ4I5RaMmjzRd4FsKeauy qGv2hgkqSSo3G8YpYDPcE6XNLQDmfGzh49DtblBj5togVU9kGV/9YYcCZWODz4F3moiE DaN+PRBPLREnho93FyHGK5LG3kpQ2ANxd/uNNFleibf0SF4GejPD98JPOSxq11S9qmDo FNyxahSKDuhB8qmuV1e2tifXdSmbOykqYK69TJXS46ZMHqGOWO1Rp1VxRORlicpAvj+t VCVw== X-Forwarded-Encrypted: i=1; AJvYcCW7GoBHs/l0XfHGsPDKYkUXej2akk601votN7s/QQBBI2Zcn3JoUG5SbMhT2GMpoF5fkOG7KG4=@dpdk.org X-Gm-Message-State: AOJu0YzhOsxkBuW/IBuDa9098nPtEOHYUkUBl2J9F1CSQ2ejy6w3n3Sp N6PflwODei9WyDPtR21TauPexPHR+F4wgr+KdPIFmX8lMbqdB7/L X-Gm-Gg: ASbGncso0MnGm2DDY8345viUXD7clcoU8a+MewwsdB6SKFjGORQYVmL2PsiyWky8I7V hMAYxc05qyjiLbuBBsKaUflRdPYmrd8WJ7ZcmgQ9W51NoOqZ1nrXti5uwgAb91sYCjm3g9fUrV1 tr2vdeUoeOpvGv6nroFI5CgsXmcjfoXV8NF4rmvQ0f+WwiYMyDQEu0sd0avfj+HwvLOC/E9rOoC 4Ib+GY78QEdBbypjFYrrAD2W9uyiXBdJQ3dJxSXPze5uPRbNiqloJ90cLhVG8zCUL3EAvfN7Zru ujEcyI7/8/25176ZCGY+iA== X-Google-Smtp-Source: AGHT+IHnkOah/CZworKnZ/VJBqeLML4u9vgb7gAmILonmfmOIeM2BAufCRTOeP2JvpvrJ3yCLwudUA== X-Received: by 2002:a05:600c:3110:b0:439:4b9a:a9fb with SMTP id 5b1f17b1804b1-4396e77948bmr106633205e9.30.1739811915689; Mon, 17 Feb 2025 09:05:15 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:f83c:95e7:29fd:a997]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4398937341csm22267665e9.24.2025.02.17.09.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 09:05:15 -0800 (PST) From: luca.boccassi@gmail.com To: Andre Muezerie Cc: Pier Damouny , Bruce Richardson , dpdk stable Subject: patch 'eal/x86: fix some intrinsics header include for Windows' has been queued to stable release 22.11.8 Date: Mon, 17 Feb 2025 17:03:39 +0000 Message-ID: <20250217170456.1068278-6-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250217170456.1068278-1-luca.boccassi@gmail.com> References: <20250217170456.1068278-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.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/19/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/b260bcc18c7a05fb2edc61cb19a882b01c35c870 Thanks. Luca Boccassi --- >From b260bcc18c7a05fb2edc61cb19a882b01c35c870 Mon Sep 17 00:00:00 2001 From: Andre Muezerie Date: Tue, 14 Jan 2025 08:21:13 -0800 Subject: [PATCH] eal/x86: fix some intrinsics header include for Windows [ upstream commit 5b856206c74bbcf19e12cafa15382a7e15b0a1b5 ] Error reported: ../lib/net/net_crc_sse.c:49:17: error: call to undeclared function '_mm_clmulepi64_si128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] The fix is to remove the unnecessary ifdef around the inclusion of header file immintrin.h. This header also contains functions that do not require AVX instructions, so should not be included only when AVX is available. Bugzilla ID: 1595 Fixes: da826b7135a4 ("eal: introduce ymm type for AVX 256-bit") Reported-by: Pier Damouny Signed-off-by: Andre Muezerie Acked-by: Bruce Richardson --- .mailmap | 1 + lib/eal/x86/include/rte_vect.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.mailmap b/.mailmap index 3127a1f91f..df8e5c48ab 100644 --- a/.mailmap +++ b/.mailmap @@ -1085,6 +1085,7 @@ Petr Houska Phanendra Vukkisala Phil Yang Philip Prindeville +Pier Damouny Pierre Pfister Piotr Azarewicz Piotr Bartosiewicz diff --git a/lib/eal/x86/include/rte_vect.h b/lib/eal/x86/include/rte_vect.h index 2e40b77da9..ea0bf169fd 100644 --- a/lib/eal/x86/include/rte_vect.h +++ b/lib/eal/x86/include/rte_vect.h @@ -21,11 +21,7 @@ (__GNUC__ == 4 && __GNUC_MINOR__ < 4)) #include /* SSE4 */ - -#if defined(__AVX__) #include -#endif - #else #include -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-02-17 16:13:17.117441232 +0000 +++ 0006-eal-x86-fix-some-intrinsics-header-include-for-Windo.patch 2025-02-17 16:13:16.786441593 +0000 @@ -1 +1 @@ -From 5b856206c74bbcf19e12cafa15382a7e15b0a1b5 Mon Sep 17 00:00:00 2001 +From b260bcc18c7a05fb2edc61cb19a882b01c35c870 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5b856206c74bbcf19e12cafa15382a7e15b0a1b5 ] + @@ -18 +19,0 @@ -Cc: stable@dpdk.org @@ -24,3 +25,3 @@ - .mailmap | 2 +- - lib/eal/x86/include/rte_vect.h | 2 -- - 2 files changed, 1 insertion(+), 3 deletions(-) + .mailmap | 1 + + lib/eal/x86/include/rte_vect.h | 4 ---- + 2 files changed, 1 insertion(+), 4 deletions(-) @@ -29 +30 @@ -index cc1ffe1ad9..94e12acbd4 100644 +index 3127a1f91f..df8e5c48ab 100644 @@ -32 +33 @@ -@@ -1192,7 +1192,7 @@ Petr Houska +@@ -1085,6 +1085,7 @@ Petr Houska @@ -36 +36,0 @@ --Pier Damouny @@ -42 +42 @@ -index 5ac3ccfd82..5fdcd632ac 100644 +index 2e40b77da9..ea0bf169fd 100644 @@ -45 +45,2 @@ -@@ -19,9 +19,7 @@ +@@ -21,11 +21,7 @@ + (__GNUC__ == 4 && __GNUC_MINOR__ < 4)) @@ -47 +47,0 @@ - #if defined(__ICC) || defined(_WIN64) @@ -48,0 +49 @@ +- @@ -51,0 +53 @@ +- @@ -52,0 +55 @@ + @@ -54 +56,0 @@ - #endif