patch 'net/mlx5: release representor interrupt handler' has been queued to stable release 22.11.11
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Nov 20 13:44:45 CET 2025
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 11/22/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/7502e6dee54af937b7a8582fbd9e41a16445106d
Thanks.
Luca Boccassi
---
>From 7502e6dee54af937b7a8582fbd9e41a16445106d 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 674861d765..5b51bf1ef3 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -2069,6 +2069,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;
+ }
#ifdef HAVE_MLX5_HWS_SUPPORT
flow_hw_destroy_vport_action(dev);
/* dr context will be closed after mlx5_os_free_shared_dr. */
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-11-20 12:44:13.256187407 +0000
+++ 0013-net-mlx5-release-representor-interrupt-handler.patch 2025-11-20 12:44:12.786088177 +0000
@@ -1 +1 @@
-From dbaed15366cb9aa66d7e0a580462a042ecfb602f Mon Sep 17 00:00:00 2001
+From 7502e6dee54af937b7a8582fbd9e41a16445106d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit dbaed15366cb9aa66d7e0a580462a042ecfb602f ]
+
@@ -18 +20 @@
-index d39319efd1..1d07ca4293 100644
+index 674861d765..5b51bf1ef3 100644
@@ -21 +23 @@
-@@ -2443,6 +2443,11 @@ mlx5_dev_close(struct rte_eth_dev *dev)
+@@ -2069,6 +2069,11 @@ mlx5_dev_close(struct rte_eth_dev *dev)
@@ -30 +31,0 @@
- mlx5_indirect_list_handles_release(dev);
@@ -32 +33,2 @@
- mlx5_nta_sample_context_free(dev);
+ flow_hw_destroy_vport_action(dev);
+ /* dr context will be closed after mlx5_os_free_shared_dr. */
More information about the stable
mailing list