patch 'common/mlx5: fix dependency detection on Windows' has been queued to stable release 24.11.3

Kevin Traynor ktraynor at redhat.com
Fri Jul 18 21:30:36 CEST 2025


Hi,

FYI, your patch has been queued to stable release 24.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/5ae25db6cad44ce9bb675ba31f143ef7af46b0bd

Thanks.

Kevin

---
>From 5ae25db6cad44ce9bb675ba31f143ef7af46b0bd Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Fri, 13 Jun 2025 08:50:20 +0200
Subject: [PATCH] common/mlx5: fix dependency detection on Windows

[ upstream commit 2dd1f6656ec9690fbcbd782f03fba5c38b32d9f3 ]

UNH reported a build failure in a env that seems to have partially
installed mlx5 dependencies.

Has header "mlx5devx.h" : YES
drivers\common\mlx5\windows\meson.build:10:0: ERROR: C shared or
	static library 'mlx5devx' not found

The actual reason why the header is seen and the library is not, may be
due to a bug in meson itself.

In any case, don't *require* mlx5dev library when testing its presence.

Fixes: 85c51a4ffab8 ("common/mlx5: get Windows dependency from standard variables")

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 drivers/common/mlx5/windows/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/mlx5/windows/meson.build b/drivers/common/mlx5/windows/meson.build
index f60daed840..c3bd3aac26 100644
--- a/drivers/common/mlx5/windows/meson.build
+++ b/drivers/common/mlx5/windows/meson.build
@@ -8,5 +8,5 @@ if not cc.has_header('mlx5devx.h')
 endif
 
-devxlib = cc.find_library('mlx5devx', required: true)
+devxlib = cc.find_library('mlx5devx', required: false)
 if not devxlib.found()
     build = false
-- 
2.50.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-18 20:29:14.539635841 +0100
+++ 0102-common-mlx5-fix-dependency-detection-on-Windows.patch	2025-07-18 20:29:11.017256320 +0100
@@ -1 +1 @@
-From 2dd1f6656ec9690fbcbd782f03fba5c38b32d9f3 Mon Sep 17 00:00:00 2001
+From 5ae25db6cad44ce9bb675ba31f143ef7af46b0bd Mon Sep 17 00:00:00 2001
@@ -4,0 +5,2 @@
+
+[ upstream commit 2dd1f6656ec9690fbcbd782f03fba5c38b32d9f3 ]



More information about the stable mailing list