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 AE4C4470AE for ; Sun, 21 Dec 2025 16:02:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7E0A4025F; Sun, 21 Dec 2025 16:02:24 +0100 (CET) Received: from MW6PR02CU001.outbound.protection.outlook.com (mail-westus2azon11012059.outbound.protection.outlook.com [52.101.48.59]) by mails.dpdk.org (Postfix) with ESMTP id 1099B40430 for ; Sun, 21 Dec 2025 16:02:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=T/1qp4mPuHT3YWFyT4agnlOQLHIhol8uiOgD9MFGbMX9ObqYQ2b0+Yr9IoUnu/tNuPs2c07rFk9ePlwvcipy/w4QR9klKoN2L+F5Zp8DrTHnT0Yqi+dzBnfZXK018b/trCencxRe/GUtQVsP4bRyTgFT+/04yIZnAbUQmFELLBt/Wj1RcwARcC8t1jBrsQJ/bJY6NozKPlQARd/oHNcN8EwzrO5T5waIpVaKON4gYOZE3UarMW0U/uG/flWZxywCuBXI+xFZyNbF3RDGVlVs51W+MLHnC7BXzllNE0KmeAQvs2QGhvTOica/+6xi86aYnTMl4jCLhiX3UB4pGvS2rQ== 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=cruP2isZfQaHK+uIRYnCAxaYvJxlwYo/JeMWoNlzZ2Q=; b=pmagEzSWJ6gorPrychERMQTOkVOY+6zwJcxZKXRjSlMSHIhhTUdXHQ3FGnnppxgTAWnkfVLiX8mQkWRyk6AzvzEs9mQyIEWX9W5I3dipGnmnVMVf0TvO8oTqJwwXbu+vmFBklcWkMuKJ5sN/UpF076RW8Ngxqwxwe/M7LlscHBP+ycNVg9A9MyM/0tubq4FTAzN05/xjbS457uwAoNOLSB9OCzsI6G+aIeGjX8pdIAxMMAYikkU/jAdeZ0VtFtYDCsrYsaU3HMWhkCqGfngqOvCc+IsCm7pZgfr+oJlUKD7HUvU3wmb35ZmuFqbwXVoaS0EvhRv8LH0xNMigp1plzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=redhat.com 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=cruP2isZfQaHK+uIRYnCAxaYvJxlwYo/JeMWoNlzZ2Q=; b=ZjJVGfJ5Qn7rxomUYorgiOWo5sFoBAIynBU6MvB4JNHgNakCT63hstSKOwDlnIqDu15/HaiNBWyRjS+vgxrB9qNZgCsc+hb4/jNoX0vP1K0l7Epo1pSrCk9GbB4qO2BrbS76/2exXTC1dn3hgw4RQyS3/LFd3+pMQ2wLS9kB8jMEUaLd9I1uycaOQl4tK5s5cJyTGhCM1JWN+fPJOebR31TBdmN6ufSOyq5PnERgZEmsJESKE9EQ4Tt+1eYUZfYZP7SiBC4iRH1nKIAtTD0dr2x9q+TmKy7DEms1juwGFlZETPdABOyJR78Ti4C9Sit+PGvjJAHPhW2Gj8WSmy7J1A== Received: from BLAPR05CA0045.namprd05.prod.outlook.com (2603:10b6:208:335::25) by SN7PR12MB8771.namprd12.prod.outlook.com (2603:10b6:806:32a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9434.10; Sun, 21 Dec 2025 15:02:20 +0000 Received: from BL6PEPF00022573.namprd02.prod.outlook.com (2603:10b6:208:335:cafe::66) by BLAPR05CA0045.outlook.office365.com (2603:10b6:208:335::25) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9456.9 via Frontend Transport; Sun, 21 Dec 2025 15:02:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BL6PEPF00022573.mail.protection.outlook.com (10.167.249.41) 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 rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) 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:03 -0800 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail204.nvidia.com (10.129.68.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:03 -0800 Received: from nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.9) 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:01 -0800 From: Shani Peretz To: David Marchand CC: Bruce Richardson , dpdk stable Subject: patch 'gpudev: fix driver header for Windows' has been queued to stable release 23.11.6 Date: Sun, 21 Dec 2025 16:56:37 +0200 Message-ID: <20251221145746.763179-49-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: BL6PEPF00022573:EE_|SN7PR12MB8771:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a7bea95-ffad-4999-9058-08de40a1f082 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|376014|1800799024|82310400026|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?gprEPv1b9BfHPgJT2pNkSQmKjx78DgCBKOG9lfZK/fjuU/h9lLijvNc0CgmY?= =?us-ascii?Q?RvSSyo3qGnBTtYqDr14WwwO+m9HOEQraIhXPz3BxeQsOvLTXFEbq84E0Mx2U?= =?us-ascii?Q?tWAs0bxWSFBvPQ86qmW3ZcQsvFnWcjTBImqiAAsfAkLiCsbFatGn4Cy0WIfn?= =?us-ascii?Q?rHqGcjD8rIf212ZFFM4kJyaGtRQDkY12Rt11tNL9n7Z5r0L9eMoGpZcQD48E?= =?us-ascii?Q?orElzjE5nX11Ga8Y2p4QSmbtVeovwN1bPevYKe/EEsYiFluE62fQqMH84vgT?= =?us-ascii?Q?cu2vtROWCbE7h0kRr48gbySwSm/eHB8Iyi2kPRLHaaET4WHGQ/WvcaWhnB1Y?= =?us-ascii?Q?klmLEt7SpN1turhr+21ySY8koGF2kcJMZGZUjt38nBDKMz4NEIVvLURbuD2V?= =?us-ascii?Q?s4EZEzih6XpMlt2IYrkFCndZRsYundGamxxi5QK2NAyDqhvf2cSEqAw9tdj4?= =?us-ascii?Q?osrL0sWiJqSNoVfXXxcpUKhqz8CJkkAAb4k4jHJfjiIZKOr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r8/LVPUjnPjanxH9GX0PBQ6QqbrL2P5ucKIGViFEBDTZIAA/Ed?= =?us-ascii?Q?MCKyTCbs530WoC3+vAKyWlwls2U7RAZbvyBbuF1ZSPULKAXpFzS5k5uwsw04?= =?us-ascii?Q?+846po6FXT+41mOcFq4v/GA6sPlQi9cBGuikZBOpaSe255j0ii/5wlHJr5Vp?= =?us-ascii?Q?RCylqXxAjt7Cyl6XJ0KPC3veHd/J8C+3CjmZqFuM?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(376014)(1800799024)(82310400026)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2025 15:02:20.0401 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a7bea95-ffad-4999-9058-08de40a1f082 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF00022573.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8771 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/6e0c826aec491bfc3db38fb53988ba0b01c880f3 Thanks. Shani --- >From 6e0c826aec491bfc3db38fb53988ba0b01c880f3 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 24 Sep 2025 18:42:49 +0200 Subject: [PATCH] gpudev: fix driver header for Windows [ upstream commit bda83ec0bb0c1bfba33843059a244181b46b9907 ] Use rte_os.h and its RTE_TAILQ_HEAD definition compatible with BSD sys/queue.h Fixes: 18cb07563165 ("gpudev: add event notification") Signed-off-by: David Marchand Acked-by: Bruce Richardson --- lib/gpudev/gpudev.c | 1 + lib/gpudev/gpudev_driver.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c index 6845d18b4d..0e2d6f29d4 100644 --- a/lib/gpudev/gpudev.c +++ b/lib/gpudev/gpudev.c @@ -3,6 +3,7 @@ */ #include +#include #include #include diff --git a/lib/gpudev/gpudev_driver.h b/lib/gpudev/gpudev_driver.h index 0b1e7f2172..0b70fa987f 100644 --- a/lib/gpudev/gpudev_driver.h +++ b/lib/gpudev/gpudev_driver.h @@ -12,11 +12,11 @@ #define RTE_GPUDEV_DRIVER_H #include -#include #include #include +#include #include "rte_gpudev.h" #ifdef __cplusplus @@ -80,7 +80,7 @@ struct rte_gpu { /* Driver functions. */ struct rte_gpu_ops ops; /* Event callback list. */ - TAILQ_HEAD(rte_gpu_callback_list, rte_gpu_callback) callbacks; + RTE_TAILQ_HEAD(rte_gpu_callback_list, rte_gpu_callback) callbacks; /* Current state (used or not) in the running process. */ enum rte_gpu_state process_state; /* Updated by this library. */ /* Driver-specific private data for the running process. */ -- 2.43.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-12-21 16:54:19.764021567 +0200 +++ 0049-gpudev-fix-driver-header-for-Windows.patch 2025-12-21 16:54:17.094072000 +0200 @@ -1 +1 @@ -From bda83ec0bb0c1bfba33843059a244181b46b9907 Mon Sep 17 00:00:00 2001 +From 6e0c826aec491bfc3db38fb53988ba0b01c880f3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit bda83ec0bb0c1bfba33843059a244181b46b9907 ] + @@ -19 +21 @@ -index 0473d9ffb3..4a2335834c 100644 +index 6845d18b4d..0e2d6f29d4 100644 @@ -28 +29,0 @@ - #include @@ -29,0 +31 @@ + #include @@ -31 +33 @@ -index 37b6ae3149..b7621f6e5a 100644 +index 0b1e7f2172..0b70fa987f 100644 @@ -47 +49 @@ -@@ -80,7 +80,7 @@ struct __rte_cache_aligned rte_gpu { +@@ -80,7 +80,7 @@ struct rte_gpu {