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 786D0489EF for ; Mon, 27 Oct 2025 17:22:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F5924066A; Mon, 27 Oct 2025 17:22:06 +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 111D84028B for ; Mon, 27 Oct 2025 17:22:05 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-475dd559b0bso31597475e9.1 for ; Mon, 27 Oct 2025 09:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761582125; x=1762186925; 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=96aCkmsr9b7JR1gPnVEB+gsrI37/5eNKWEV2TkJ29h4=; b=V8Gm0kqyAI/bCBSBxC4MeJhESwcCTxgXGZkvgSBjiz/wyiWcIZ/Fg7qBloMA70fX2x /Bse8uE8xi08bdFXMiravrgmUEAgl0Sj2/fvEtOa3hFJ1HYZQeF09ATMPKQfUT6/L6Gz y+BKNKxOR4SOLq3JrjeyhtV0zeAoho9QIjrMIj9dtcViNilIR3O1hy+M+6PqySSgzacP cMj5C4gN7AII5YHcS3NSZAag+2CS7Xhrcyrk+bb253fpHCkK3RkZWpEG3GJLopeRc82a VQCR0ebIWRaGga20Cni9lQf7x1uZueUJNao1aCAAKz9tnq300MFD+UVxImHecYT1OLcR X1Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761582125; x=1762186925; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state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PBLaGZ2MniA4rFBfflo3hftO53JSSce tB1IINQg== X-Google-Smtp-Source: AGHT+IGH80GZEqRueJI7lGA0hZlKzbOjRvsEA6BtJaq0rRhg3Tbno6bwvbObpMvJyOaOgZae1o+qOw== X-Received: by 2002:a05:6000:1a89:b0:427:492:79cd with SMTP id ffacd0b85a97d-429a7e70cb5mr258610f8f.41.1761582124564; Mon, 27 Oct 2025 09:22:04 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:6fc5:c3bc:147e:832c]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-429952cbb2bsm15194946f8f.13.2025.10.27.09.22.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 09:22:04 -0700 (PDT) From: luca.boccassi@gmail.com To: David Marchand Cc: Bruce Richardson , dpdk stable Subject: patch 'gpudev: fix driver header for Windows' has been queued to stable release 22.11.11 Date: Mon, 27 Oct 2025 16:19:14 +0000 Message-ID: <20251027162001.3710450-36-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/eaf49a44e8756ecb42b4bcd4f53f1926ea3b6c0e Thanks. Luca Boccassi --- >From eaf49a44e8756ecb42b4bcd4f53f1926ea3b6c0e 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 8f12abef23..2e878d1cc9 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 42898c7c8b..d11e5be559 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.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-10-27 15:54:36.182110725 +0000 +++ 0036-gpudev-fix-driver-header-for-Windows.patch 2025-10-27 15:54:34.807949850 +0000 @@ -1 +1 @@ -From bda83ec0bb0c1bfba33843059a244181b46b9907 Mon Sep 17 00:00:00 2001 +From eaf49a44e8756ecb42b4bcd4f53f1926ea3b6c0e Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit bda83ec0bb0c1bfba33843059a244181b46b9907 ] + @@ -19 +21 @@ -index 0473d9ffb3..4a2335834c 100644 +index 8f12abef23..2e878d1cc9 100644 @@ -28 +29,0 @@ - #include @@ -29,0 +31 @@ + #include @@ -31 +33 @@ -index 37b6ae3149..b7621f6e5a 100644 +index 42898c7c8b..d11e5be559 100644 @@ -47 +49 @@ -@@ -80,7 +80,7 @@ struct __rte_cache_aligned rte_gpu { +@@ -80,7 +80,7 @@ struct rte_gpu {