patch 'net/mlx5: release representor interrupt handler' has been queued to stable release 23.11.6

Shani Peretz shperetz at nvidia.com
Thu Dec 25 10:18:50 CET 2025


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/30/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/1142ffbc01477ff667251a0b6d4981eb3e51a1b1

Thanks.

Shani

---
>From 1142ffbc01477ff667251a0b6d4981eb3e51a1b1 Mon Sep 17 00:00:00 2001
From: Roi Dayan <roid at nvidia.com>
Date: Wed, 12 Nov 2025 09:40:15 +0200
Subject: [PATCH] net/mlx5: release representor interrupt handler

[ upstream commit dbaed15366cb9aa66d7e0a580462a042ecfb602f ]

The cited commit removed the representor interrupt
handler cleanup by mistake.

Fixes: 5cf0707fc7e9 ("net/mlx5: remove Rx queue data list from device")

Signed-off-by: Roi Dayan <roid at nvidia.com>
Acked-by: Suanming Mou <suanmingm at nvidia.com>
---
 drivers/net/mlx5/mlx5.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 711781ed34..0352e7cc7f 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -2278,6 +2278,11 @@ mlx5_dev_close(struct rte_eth_dev *dev)
 	/* Free the eCPRI flex parser resource. */
 	mlx5_flex_parser_ecpri_release(dev);
 	mlx5_flex_item_port_cleanup(dev);
+	if (priv->representor) {
+		/* Each representor has a dedicated interrupts handler */
+		rte_intr_instance_free(dev->intr_handle);
+		dev->intr_handle = NULL;
+	}
 	mlx5_indirect_list_handles_release(dev);
 #ifdef HAVE_MLX5_HWS_SUPPORT
 	flow_hw_destroy_vport_action(dev);
-- 
2.43.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-12-25 11:16:40.738921853 +0200
+++ 0089-net-mlx5-release-representor-interrupt-handler.patch	2025-12-25 11:16:36.235827000 +0200
@@ -1 +1 @@
-From dbaed15366cb9aa66d7e0a580462a042ecfb602f Mon Sep 17 00:00:00 2001
+From 1142ffbc01477ff667251a0b6d4981eb3e51a1b1 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit dbaed15366cb9aa66d7e0a580462a042ecfb602f ]
+
@@ -18 +20 @@
-index d39319efd1..1d07ca4293 100644
+index 711781ed34..0352e7cc7f 100644
@@ -21 +23 @@
-@@ -2443,6 +2443,11 @@ mlx5_dev_close(struct rte_eth_dev *dev)
+@@ -2278,6 +2278,11 @@ mlx5_dev_close(struct rte_eth_dev *dev)
@@ -32 +34 @@
- 	mlx5_nta_sample_context_free(dev);
+ 	flow_hw_destroy_vport_action(dev);


More information about the stable mailing list