patch 'net/mlx5: fix link interrupt capability on Windows' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:05:08 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
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/08/26. 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/a287353010304cde289bb0e13a7bde3044f7c0bd
Thanks.
Kevin
---
>From a287353010304cde289bb0e13a7bde3044f7c0bd Mon Sep 17 00:00:00 2001
From: Dariusz Sosnowski <dsosnowski at nvidia.com>
Date: Mon, 26 Oct 2026 16:58:05 +0100
Subject: [PATCH] net/mlx5: fix link interrupt capability on Windows
[ upstream commit dab424219d00c04ab635925500c9b09a9056e9cd ]
mlx5 networking driver supports LSC interrupts only on Linux.
Driver falsely reported RTE_ETH_DEV_INTR_LSC in its device flags
on Windows.
This patch fixes the device flags and updates the documentation.
Fixes: 93f4ece91a1f ("net/mlx5: spawn ethdev ports on Windows")
Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
---
doc/guides/nics/mlx5.rst | 1 +
drivers/net/mlx5/linux/mlx5_os.h | 2 ++
drivers/net/mlx5/mlx5.c | 2 +-
drivers/net/mlx5/windows/mlx5_os.h | 2 ++
4 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index e9bcf8d540..d8713e6e7d 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -1085,4 +1085,5 @@ Port/Queue Feature Linux Windows
:ref:`statistics <mlx5_net_stats>` X P
link flow control (pause frame) X
+link state interrupt X
Rx interrupt X
:ref:`shared Rx queue <mlx5_shared_rx>` X
diff --git a/drivers/net/mlx5/linux/mlx5_os.h b/drivers/net/mlx5/linux/mlx5_os.h
index 4d073048fb..9deef72527 100644
--- a/drivers/net/mlx5/linux/mlx5_os.h
+++ b/drivers/net/mlx5/linux/mlx5_os.h
@@ -9,4 +9,6 @@
#include <net/if.h>
+#define MLX5_NET_INTR_LSC_SUPPORTED (1)
+
/* Maximal data of sendmsg message(in bytes). */
#define MLX5_SENDMSG_MAX 64
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 7676c77a4d..acebe2b365 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -3902,5 +3902,5 @@ static struct mlx5_class_driver mlx5_net_driver = {
.remove = mlx5_net_remove,
.probe_again = 1,
- .intr_lsc = 1,
+ .intr_lsc = MLX5_NET_INTR_LSC_SUPPORTED,
.intr_rmv = 1,
};
diff --git a/drivers/net/mlx5/windows/mlx5_os.h b/drivers/net/mlx5/windows/mlx5_os.h
index 57d147bd8c..c5b7008053 100644
--- a/drivers/net/mlx5/windows/mlx5_os.h
+++ b/drivers/net/mlx5/windows/mlx5_os.h
@@ -8,4 +8,6 @@
#include "mlx5_win_ext.h"
+#define MLX5_NET_INTR_LSC_SUPPORTED (0)
+
#define MLX5_NAMESIZE MLX5_FS_NAME_MAX
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:49.995235799 +0000
+++ 0382-net-mlx5-fix-link-interrupt-capability-on-Windows.patch 2026-12-03 12:52:39.290938782 +0000
@@ -1 +1 @@
-From dab424219d00c04ab635925500c9b09a9056e9cd Mon Sep 17 00:00:00 2001
+From a287353010304cde289bb0e13a7bde3044f7c0bd Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit dab424219d00c04ab635925500c9b09a9056e9cd ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index c7bb6eb182..69f54ff92c 100644
+index e9bcf8d540..d8713e6e7d 100644
@@ -27 +28 @@
-@@ -1107,4 +1107,5 @@ Port/Queue Feature Linux Windows
+@@ -1085,4 +1085,5 @@ Port/Queue Feature Linux Windows
@@ -45 +46 @@
-index e2dbd2977b..63c713c1f0 100644
+index 7676c77a4d..acebe2b365 100644
@@ -48 +49 @@
-@@ -3960,5 +3960,5 @@ static struct mlx5_class_driver mlx5_net_driver = {
+@@ -3902,5 +3902,5 @@ static struct mlx5_class_driver mlx5_net_driver = {
More information about the stable
mailing list