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 A74F248B59 for ; Thu, 20 Nov 2025 13:45:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9ED0C402DD; Thu, 20 Nov 2025 13:45:53 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 9B47140289 for ; Thu, 20 Nov 2025 13:45:52 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-477ba2c1ca2so6588365e9.2 for ; Thu, 20 Nov 2025 04:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763642752; x=1764247552; 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=c5OPivfUFNTvrpwHVBSor7hUwRD8BbvD1b6+sZQb84A=; b=hw6EDLUtqoDTjcc4ojaRUp3+ZzI8yqslT6Wsg4ZdqnctRbOR+ttexTn90jYDmQzAB8 zWrS2V2NZksBBzioGnDPDeBYzfun5rkFaDbIgKWnEosFd7KsaV4io2G5dJdBuXuAPuE7 2x5fJnCSJwAkvIDWvCLL9x4lwu1yfoz52XWPWdmhmRbbo8sphOm8swofzicvFW8t/vug 1tagT1uuDEdCGP/dleyiXnnosFEz++JcWa8pJg12grZqC0BDk55bmFjbQ5Y2z/EujZ6e nxWZA51P2UBR8fZIXwq3pRzMwzSubjYwChobYLXG7lpaHasBespMjUo3ER+JbNAdFSod baFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763642752; x=1764247552; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-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qW/gaLMRqw8UsyV6loKiZjpry25LyAb+uETEi2KzeBUMInMbf r6svakhBSiNZ1oPSe+ X-Google-Smtp-Source: AGHT+IENGM/+qIzEB7/a9VBwzCAKgb/djU9n/AKa3qqzDmFhuHlFTPIE8CNBTqGa4MTnkhD7xwbMjA== X-Received: by 2002:a05:600c:474a:b0:477:a246:8398 with SMTP id 5b1f17b1804b1-477b8954699mr34778735e9.2.1763642752080; Thu, 20 Nov 2025 04:45:52 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:f372:8d1a:399f:e8a2]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-477b82e8ea6sm47950795e9.8.2025.11.20.04.45.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 04:45:51 -0800 (PST) From: luca.boccassi@gmail.com To: Roi Dayan Cc: Suanming Mou , dpdk stable Subject: patch 'net/mlx5: release representor interrupt handler' has been queued to stable release 22.11.11 Date: Thu, 20 Nov 2025 12:44:45 +0000 Message-ID: <20251120124514.757933-13-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251120124514.757933-1-luca.boccassi@gmail.com> References: <20251112165308.1618107-49-luca.boccassi@gmail.com> <20251120124514.757933-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 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 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 Acked-by: Suanming Mou --- 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. */