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 200AD470AE for ; Sun, 21 Dec 2025 16:02:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18B8F40612; Sun, 21 Dec 2025 16:02:30 +0100 (CET) Received: from PH8PR06CU001.outbound.protection.outlook.com (mail-westus3azon11012014.outbound.protection.outlook.com [40.107.209.14]) by mails.dpdk.org (Postfix) with ESMTP id DCF884060A for ; Sun, 21 Dec 2025 16:02:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AfwsakwWb/ycNNRiY8xT9FcSMFa5pHMCqySMAAcDM5TwCcH6tRHpCrLBPZwNw6ZWjz4DFRgcVjKZ5WwIGa7UhdKzUlbdmzazgDNn4dK0dRqWq6v3gBnf5j//0MVhm2vHVz6Aj3bGiWYKW9j8OOfUa1hE1H018EN0baY/akwgRyzidhBDsaMzb8Ce7yQl8xn4fdi7HPov8nidBd+sQ5UHynMhax8/IEd8Sz2uQeFhk4CL+PkWV1U6eWKDp4xL+uqfnmE8Cy5xsvp+grn6OSF9Guigdp1DJIANkLYsj8alnKmsKckStsjtdjRMDn5TKstJKQJGMK9r6KQ5xuxtoRqx2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vxBrIm4EaOu/aro3+Xy7S62wrcvhK+x7prP4k/J6opk=; b=Tmo7EGFwtI0P71fQ0a8ryHQfoxbmaHnVrrcx3koQe2TlHchphXFm27iVDEpVs4M6BQ73r00KFcp+atQCarVTYGM7/ifG1T73GvQLgad5p7uv+X3FSLZdcTTtEI6RHgJJEV0xS/bvdoXoEtiCrFe6Px4f8/vi4Ku0nYbORLmN1XtdBgNk5akPolzjTq123D1lXV7czwKhTR9ZiHZbb9xmllbzBRH6CWb7OPn8nZoS1VhArh50fSl8Z27XYg72YU6jz19zI5J4fvHIRcBD4r4kWcqy2xMB11SEyOEhW/XboiG7VWVMYe/krdM64FhYaW22kmDL7ZdRAPNnm4M45QwXxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vxBrIm4EaOu/aro3+Xy7S62wrcvhK+x7prP4k/J6opk=; b=g+nM3ag0J9DneQi2GPQ/j8ZR/1cO41KEkiJdDp1L9MT7jxb0dXMRB4FfU/+5CP27hVd0NKDNEJphy/ry3pAEoJz7pY3ixP4x69EJPqKCvgrLA6YHHkZJlmvR2TI/f98i7Ruwq2BmXX4nWCC3SNNpvFAcaVF6Cki+85UIBFUvFJjTecbaT2WyPnWS7K8Jv1zKQU4zYTGWLBUWlfxaS2QvJUC+MTVzdPEIyqDkLrpGWfFnczLUE+/6XvG+GjYV8+h1i8nIRr+jwQ78K1rovvo7hxcqod1i0B9lKLAQmnAR4Qo7TR9OnIxNiyqtDINVMTui+wm+zJ6PVBUHunlyLdJ9jw== Received: from BY5PR20CA0002.namprd20.prod.outlook.com (2603:10b6:a03:1f4::15) by SA1PR12MB8885.namprd12.prod.outlook.com (2603:10b6:806:376::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9434.11; Sun, 21 Dec 2025 15:02:21 +0000 Received: from SJ1PEPF00001CE2.namprd05.prod.outlook.com (2603:10b6:a03:1f4:cafe::43) by BY5PR20CA0002.outlook.office365.com (2603:10b6:a03:1f4::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9434.11 via Frontend Transport; Sun, 21 Dec 2025 15:02:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by SJ1PEPF00001CE2.mail.protection.outlook.com (10.167.242.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9456.9 via Frontend Transport; Sun, 21 Dec 2025 15:02:20 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Sun, 21 Dec 2025 07:02:20 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Sun, 21 Dec 2025 07:02:19 -0800 Received: from nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Sun, 21 Dec 2025 07:02:18 -0800 From: Shani Peretz To: Thomas Monjalon CC: Bruce Richardson , dpdk stable Subject: patch 'bus/pci: fix build with MinGW 13' has been queued to stable release 23.11.6 Date: Sun, 21 Dec 2025 16:56:40 +0200 Message-ID: <20251221145746.763179-52-shperetz@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251221145746.763179-1-shperetz@nvidia.com> References: <20251221145746.763179-1-shperetz@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE2:EE_|SA1PR12MB8885:EE_ X-MS-Office365-Filtering-Correlation-Id: 72921ce8-ec57-496c-32df-08de40a1f0d4 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|376014|82310400026|1800799024|13003099007|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?MWOZqy4AJE9VrEqKSNrE+Xs5TkybG/moAsc1tmct38aoMDXaEuYEhI7Jln4Z?= =?us-ascii?Q?83++MBgMGMulg45eaFyamXknNXUacGpHgqyPLPTs+uX073Jc7U6EIOZAguzB?= =?us-ascii?Q?FNO6+K/g1zw1C/i2F/6ClvfJW7Wjf+xggge0nYjYh3AsIK3jtGbQWCLepdYf?= =?us-ascii?Q?yIb/4lGT0yPsdPBQA6ay37fE+03Dbs31WbFvvNN85uZSGLXuT3LZzhyCiU0P?= =?us-ascii?Q?f+M2pNVj9lkrvZXWa/+Hfi1rvzw4d+61t8yvgmA0eZALPShrJfzqnvgSbkBD?= =?us-ascii?Q?9W5g17oJISCCFOeeUf0d/cS68esDTTzUaQqU7y+hNhewovQQ0gcWIWcmkqvP?= =?us-ascii?Q?BpMJJiwjipmwLzZFn5JwMFvJwA/chJJJvYxUP35198b+1qdYxDTeRwIRlMO8?= =?us-ascii?Q?TPRnm56w9vp3kWA/N0UnAfmbVnDsrTQB9y20/4/qJdyYNKUa/pEO1bVtnbcG?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3O5XnqdwSW6YkMEm?= =?us-ascii?Q?v23GSnNwkSrIq+ngNJ3JDs/b8BTqkLhqgGJtT0y0sTG1RcbcMaGaYRrJ2mtl?= =?us-ascii?Q?lItqTKmGdDU7093dyryHyHQPEjG2KptxK7nGDgvLTYMXcxrPpbwslCQy3fvi?= =?us-ascii?Q?Q69IWKWrOzJ7iLRj+gZKdr3MNukWCRO76dslHpu5Qt7fyAlxCAk/5nbNhPdn?= =?us-ascii?Q?NZw/yZ6Y5RHwDHwB9mWBPxo0EbFn3TG2IcJwK0PQ?= X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(376014)(82310400026)(1800799024)(13003099007)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2025 15:02:20.7377 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72921ce8-ec57-496c-32df-08de40a1f0d4 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8885 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 23.11.6 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/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/shanipr/dpdk-stable This queued commit can be viewed at: https://github.com/shanipr/dpdk-stable/commit/767b2d290c61af7d921d756f7ee72d00259b4402 Thanks. Shani --- >From 767b2d290c61af7d921d756f7ee72d00259b4402 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 25 Jul 2025 20:23:59 +0200 Subject: [PATCH] bus/pci: fix build with MinGW 13 [ upstream commit 73e0c90c48ea393b2725263b32515f668f8f4839 ] After an upgrade to MinGW version 13, some compilation errors appear: drivers/bus/pci/windows/pci.c:362:58: error: 'GUID_DEVCLASS_NETUIO' undeclared drivers/bus/pci/windows/pci_netuio.c:57:39: error: 'GUID_DEVINTERFACE_NETUIO' undeclared The cause is MinGW has set NTDDI_VERSION to the highest version without defining the expected NetUIO constants. The case MinGW64 is added to define NetUIO constants. Some comments are improved to better track includes requirements. Fixes: 6605c7f02e24 ("bus/pci: fix build with Windows SDK >= 10.0.20253") Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- drivers/bus/pci/windows/pci.c | 11 ++++++----- drivers/bus/pci/windows/pci_netuio.h | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c index 45a12bcb52..8deac2b35d 100644 --- a/drivers/bus/pci/windows/pci.c +++ b/drivers/bus/pci/windows/pci.c @@ -11,18 +11,19 @@ #include #include -#include "private.h" -#include "pci_netuio.h" - +/* DEVPKEY_Device_Numa_Node should be defined in devpkey.h */ #include -#include - #if defined RTE_TOOLCHAIN_GCC && (__MINGW64_VERSION_MAJOR < 8) #include DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc, 0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3); #endif +#include + +#include "private.h" +#include "pci_netuio.h" + /* * This code is used to simulate a PCI probe by parsing information in * the registry hive for PCI devices. diff --git a/drivers/bus/pci/windows/pci_netuio.h b/drivers/bus/pci/windows/pci_netuio.h index 2f6c97ea73..8ac914920f 100644 --- a/drivers/bus/pci/windows/pci_netuio.h +++ b/drivers/bus/pci/windows/pci_netuio.h @@ -5,12 +5,12 @@ #ifndef _PCI_NETUIO_H_ #define _PCI_NETUIO_H_ -#if !defined(NTDDI_WIN10_FE) || NTDDI_VERSION < NTDDI_WIN10_FE -/* GUID definition for device class netUIO */ +#if !defined(NTDDI_WIN10_FE) || NTDDI_VERSION < NTDDI_WIN10_FE || defined(__MINGW64__) +/* GUID_DEVCLASS_NETUIO should be defined in devguid.h */ DEFINE_GUID(GUID_DEVCLASS_NETUIO, 0x78912bc1, 0xcb8e, 0x4b28, 0xa3, 0x29, 0xf3, 0x22, 0xeb, 0xad, 0xbe, 0x0f); -/* GUID definition for the netuio device interface */ +/* GUID_DEVINTERFACE_NETUIO should be defined in ndisguid.h */ DEFINE_GUID(GUID_DEVINTERFACE_NETUIO, 0x08336f60, 0x0679, 0x4c6c, 0x85, 0xd2, 0xae, 0x7c, 0xed, 0x65, 0xff, 0xf7); #endif -- 2.43.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-12-21 16:54:19.914381988 +0200 +++ 0052-bus-pci-fix-build-with-MinGW-13.patch 2025-12-21 16:54:17.118046000 +0200 @@ -1 +1 @@ -From 73e0c90c48ea393b2725263b32515f668f8f4839 Mon Sep 17 00:00:00 2001 +From 767b2d290c61af7d921d756f7ee72d00259b4402 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 73e0c90c48ea393b2725263b32515f668f8f4839 ] + @@ -21 +22,0 @@ -Cc: stable@dpdk.org @@ -31 +32 @@ -index e7e449306e..6f6f368cb7 100644 +index 45a12bcb52..8deac2b35d 100644 @@ -34 +35 @@ -@@ -12,18 +12,19 @@ +@@ -11,18 +11,19 @@