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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Jul 14 17:11:01 CEST 2025


Hi,

FYI, your patch has been queued to stable release 22.11.9

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/16/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/bb3977b0f8b64eb5fde38b918fd1e7690d41b888

Thanks.

Luca Boccassi

---
>From bb3977b0f8b64eb5fde38b918fd1e7690d41b888 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

[ 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")

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 b59667f1d7..4ad54c0ad6 100644
--- a/drivers/net/txgbe/base/txgbe_hw.c
+++ b/drivers/net/txgbe/base/txgbe_hw.c
@@ -2054,9 +2054,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.47.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-14 16:09:40.943668365 +0100
+++ 0006-net-txgbe-fix-reserved-extra-FDIR-headroom.patch	2025-07-14 16:09:40.688448457 +0100
@@ -1 +1 @@
-From 3f5886d6435eb7e9add005d8e7dc880841a51465 Mon Sep 17 00:00:00 2001
+From bb3977b0f8b64eb5fde38b918fd1e7690d41b888 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3f5886d6435eb7e9add005d8e7dc880841a51465 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index ae2ad87c83..76b9ee3c0a 100644
+index b59667f1d7..4ad54c0ad6 100644
@@ -23 +24 @@
-@@ -2106,9 +2106,7 @@ void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom,
+@@ -2054,9 +2054,7 @@ void txgbe_set_pba(struct txgbe_hw *hw, int num_pb, u32 headroom,


More information about the stable mailing list