patch 'net/txgbe: fix reserved extra FDIR headroom' has been queued to stable release 23.11.5

Xueming Li xuemingl at nvidia.com
Wed Jul 30 16:56:12 CEST 2025


Hi,

FYI, your patch has been queued to stable release 23.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/10/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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=753046e1114a386487810e52868d24dfb08f7045

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 753046e1114a386487810e52868d24dfb08f7045 Mon Sep 17 00:00:00 2001
From: Jiawen Wu <jiawenwu at trustnetic.com>
Date: Fri, 13 Jun 2025 16:41:50 +0800
Subject: [PATCH] net/txgbe: fix reserved extra FDIR headroom
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 3f5886d6435eb7e9add005d8e7dc880841a51465 ]

Remove redundant 256KB FDIR headroom reservation. FDIR headroom was
already allocated in txgbe_fdir_configure() when FDIR is enabled, the
second reservation resulted in 256KB less available RX packet buffer than
the theoretical size.

Fixes: 8bdc7882f376 ("net/txgbe: support DCB")
Cc: stable at dpdk.org

Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
---
 drivers/net/txgbe/base/txgbe_hw.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/txgbe/base/txgbe_hw.c b/drivers/net/txgbe/base/txgbe_hw.c
index 64a39f46c8..8f6f480ea7 100644
--- a/drivers/net/txgbe/base/txgbe_hw.c
+++ b/drivers/net/txgbe/base/txgbe_hw.c
@@ -2063,9 +2063,7 @@ void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom,
 	u32 rxpktsize, txpktsize, txpbthresh;
 
 	UNREFERENCED_PARAMETER(hw);
-
-	/* Reserve headroom */
-	pbsize -= headroom;
+	UNREFERENCED_PARAMETER(headroom);
 
 	if (!num_pb)
 		num_pb = 1;
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-30 22:50:03.355614951 +0800
+++ 0003-net-txgbe-fix-reserved-extra-FDIR-headroom.patch	2025-07-30 22:50:02.924740826 +0800
@@ -1 +1 @@
-From 3f5886d6435eb7e9add005d8e7dc880841a51465 Mon Sep 17 00:00:00 2001
+From 753046e1114a386487810e52868d24dfb08f7045 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 3f5886d6435eb7e9add005d8e7dc880841a51465 ]
@@ -20 +23 @@
-index ae2ad87c83..76b9ee3c0a 100644
+index 64a39f46c8..8f6f480ea7 100644
@@ -23 +26 @@
-@@ -2106,9 +2106,7 @@ void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom,
+@@ -2063,9 +2063,7 @@ void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom,


More information about the stable mailing list