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 BAB0F489EF for ; Mon, 27 Oct 2025 17:23:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B38A740696; Mon, 27 Oct 2025 17:23:29 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id CA53E4028B for ; Mon, 27 Oct 2025 17:23:27 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-47118259fd8so36816455e9.3 for ; Mon, 27 Oct 2025 09:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761582207; x=1762187007; 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=YoEDP9DQ3rMRir/TkOu8byIqBBGrU6h/zsayPHVrzEo=; b=ZSgr8WHURHPXJ9RvRa6nDUn4ZycDdURyxprYK5shB21mAKqsFKY89MPvyT6mNjK9mq d/n2P6NCSSIk+GoczoxPdqHMaY6V4HL2gRnVR6igFwlHEcNX3JCcboQ6w7IgsVz7/krx 0wZ0hUXMkMPV5FEYRdakMr4wiG1WV3DNVgmuu+VYqPek9uk1yoPyehCY1t7ixZtptPeF moygbA0uWeQY7K6YbaEgxXaFVzYo90fWoR/xYvyhDTV91N41D0VsPA4aolzKi46yEfzP I0nyCo7fAXnpKEpItb7fpv90aFxSd4A4sK0AT7ZG2MvXlLeuBmzfcRcPN8vNMZKPW2Yk YyoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761582207; x=1762187007; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-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rg8manorr5G6zsNHqG8UjFQc5mcmmFGGqsxacqX rQzh6UpsEJqjidhUTu X-Google-Smtp-Source: AGHT+IGAI2fJhNTO0nUld0pzz189ghKu2nyDkf8xtcyQo/YHtMz9V/xrKfpfVJGbInGzRdmjwY6OQw== X-Received: by 2002:a05:600c:1da5:b0:46f:d682:3c3d with SMTP id 5b1f17b1804b1-47717df9866mr1975355e9.13.1761582207319; Mon, 27 Oct 2025 09:23:27 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:6fc5:c3bc:147e:832c]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-429952df62dsm16371528f8f.45.2025.10.27.09.23.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 09:23:26 -0700 (PDT) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: Sachin Saxena , dpdk stable Subject: patch 'net/enetfec: fix Tx queue free' has been queued to stable release 22.11.11 Date: Mon, 27 Oct 2025 16:19:40 +0000 Message-ID: <20251027162001.3710450-62-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251027162001.3710450-1-luca.boccassi@gmail.com> References: <20251027162001.3710450-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 10/29/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/0162bc45e694d4c6b9a09c6155d9c09286d9d8b5 Thanks. Luca Boccassi --- >From 0162bc45e694d4c6b9a09c6155d9c09286d9d8b5 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Mon, 6 Oct 2025 13:34:03 +0530 Subject: [PATCH] net/enetfec: fix Tx queue free [ upstream commit f0aa80200d87e38a613af1181a2b1048bd512c76 ] The TX queue cleanup mistakenly freed RX queue pointers instead of TX queue pointers. This patch corrects the loop to free the correct memory. Fixes: ecae71571b0d ("net/enetfec: support Rx/Tx") Signed-off-by: Hemant Agrawal Acked-by: Sachin Saxena --- drivers/net/enetfec/enet_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enetfec/enet_ethdev.c b/drivers/net/enetfec/enet_ethdev.c index 27f338a9af..2f920faf3b 100644 --- a/drivers/net/enetfec/enet_ethdev.c +++ b/drivers/net/enetfec/enet_ethdev.c @@ -349,7 +349,7 @@ enet_free_queue(struct rte_eth_dev *dev) for (i = 0; i < dev->data->nb_rx_queues; i++) rte_free(fep->rx_queues[i]); for (i = 0; i < dev->data->nb_tx_queues; i++) - rte_free(fep->rx_queues[i]); + rte_free(fep->tx_queues[i]); } static const unsigned short offset_des_active_rxq[] = { -- 2.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-10-27 15:54:37.064529467 +0000 +++ 0062-net-enetfec-fix-Tx-queue-free.patch 2025-10-27 15:54:34.839950653 +0000 @@ -1 +1 @@ -From f0aa80200d87e38a613af1181a2b1048bd512c76 Mon Sep 17 00:00:00 2001 +From 0162bc45e694d4c6b9a09c6155d9c09286d9d8b5 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f0aa80200d87e38a613af1181a2b1048bd512c76 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index f7a45fcd4d..16f36a53f1 100644 +index 27f338a9af..2f920faf3b 100644 @@ -22 +23 @@ -@@ -350,7 +350,7 @@ enet_free_queue(struct rte_eth_dev *dev) +@@ -349,7 +349,7 @@ enet_free_queue(struct rte_eth_dev *dev)