patch 'net/txgbe: enable Tx descriptor check per queue' has been queued to stable release 24.11.7

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Jul 6 12:20:52 CEST 2026


Hi,

FYI, your patch has been queued to stable release 24.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/05/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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/83680a2ccc11413946cacf1112c20945420a3486

Thanks.

Luca Boccassi

---
>From 83680a2ccc11413946cacf1112c20945420a3486 Mon Sep 17 00:00:00 2001
From: Zaiyu Wang <zaiyuwang at trustnetic.com>
Date: Wed, 24 Jun 2026 19:52:52 +0800
Subject: [PATCH] net/txgbe: enable Tx descriptor check per queue

[ upstream commit af2a849b0a12139ca098ca314546674e3ae8ac7e ]

Now lib security is enabled by default, and cannot be disabled if the
driver is intended to be used. So Tdm_desc_chk is always unable to enable.
Remove this restriction, and just enable the corresponding queue check.

Fixes: 0eabdfcd4af4 ("net/txgbe: enable Tx descriptor error interrupt")

Signed-off-by: Zaiyu Wang <zaiyuwang at trustnetic.com>
---
 drivers/net/txgbe/txgbe_rxtx.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/net/txgbe/txgbe_rxtx.c b/drivers/net/txgbe/txgbe_rxtx.c
index 8b1286aef0..908f73ac8e 100644
--- a/drivers/net/txgbe/txgbe_rxtx.c
+++ b/drivers/net/txgbe/txgbe_rxtx.c
@@ -4664,12 +4664,13 @@ txgbe_dev_tx_init(struct rte_eth_dev *dev)
 		/* Setup the HW Tx Head and TX Tail descriptor pointers */
 		wr32(hw, TXGBE_TXRP(txq->reg_idx), 0);
 		wr32(hw, TXGBE_TXWP(txq->reg_idx), 0);
-	}
 
-#ifndef RTE_LIB_SECURITY
-	for (i = 0; i < 4; i++)
-		wr32(hw, TXGBE_TDM_DESC_CHK(i), 0xFFFFFFFF);
+#ifdef RTE_LIB_SECURITY
+		if (!txq->using_ipsec)
 #endif
+			wr32m(hw, TXGBE_TDM_DESC_CHK(txq->reg_idx / 32),
+			      RTE_BIT32(txq->reg_idx % 32), RTE_BIT32(txq->reg_idx % 32));
+	}
 
 	/* Device configured with multiple TX queues. */
 	txgbe_dev_mq_tx_configure(dev);
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-03 12:55:48.963818211 +0100
+++ 0060-net-txgbe-enable-Tx-descriptor-check-per-queue.patch	2026-07-03 12:55:46.706574925 +0100
@@ -1 +1 @@
-From af2a849b0a12139ca098ca314546674e3ae8ac7e Mon Sep 17 00:00:00 2001
+From 83680a2ccc11413946cacf1112c20945420a3486 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit af2a849b0a12139ca098ca314546674e3ae8ac7e ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -15,2 +16,2 @@
- drivers/net/txgbe/txgbe_rxtx.c | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
+ drivers/net/txgbe/txgbe_rxtx.c | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
@@ -19 +20 @@
-index 22a80e5553..14e395eebe 100644
+index 8b1286aef0..908f73ac8e 100644
@@ -22 +23,2 @@
-@@ -4761,6 +4761,12 @@ txgbe_dev_tx_init(struct rte_eth_dev *dev)
+@@ -4664,12 +4664,13 @@ txgbe_dev_tx_init(struct rte_eth_dev *dev)
+ 		/* Setup the HW Tx Head and TX Tail descriptor pointers */
@@ -24,0 +27 @@
+-	}
@@ -25,0 +29,3 @@
+-#ifndef RTE_LIB_SECURITY
+-	for (i = 0; i < 4; i++)
+-		wr32(hw, TXGBE_TDM_DESC_CHK(i), 0xFFFFFFFF);
@@ -28 +34 @@
-+#endif
+ #endif
@@ -31,3 +37 @@
-+
- 		if (txq->headwb_mem) {
- 			uint32_t txdctl;
++	}
@@ -35,9 +38,0 @@
-@@ -4778,11 +4784,6 @@ txgbe_dev_tx_init(struct rte_eth_dev *dev)
- 		}
- 	}
- 
--#ifndef RTE_LIB_SECURITY
--	for (i = 0; i < 4; i++)
--		wr32(hw, TXGBE_TDM_DESC_CHK(i), 0xFFFFFFFF);
--#endif
--
@@ -46 +40,0 @@
- }


More information about the stable mailing list