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 9902546B72 for ; Mon, 14 Jul 2025 17:12:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90B6B402E7; Mon, 14 Jul 2025 17:12:28 +0200 (CEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mails.dpdk.org (Postfix) with ESMTP id 9FFA6402E7 for ; Mon, 14 Jul 2025 17:12:26 +0200 (CEST) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3a5257748e1so3023083f8f.2 for ; Mon, 14 Jul 2025 08:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752505946; x=1753110746; 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=cx6ziamoWq/gkiWE9xIfelI0NAD0ajqX4OlwBh79k94=; b=f56PLKyzGVnERir2TkeRY+WzwVYv2oekNB1KYq1n8UX3ntRbzEkayAMSQ3bPh5pd2k 07/a4W0dwpBuw7dSgtILGJSKSKjf9nmkcWbOjnpfz9ME7ye5elZy03ji57x7leeeqbTL JiNOyHw/vJrHnd0pmzIVfbhqSUkbzjnwlD575yD0W7/Pl7vzM8hY4ln/abNWPMc0xxj2 ucOCS7UYschMl4FX6wTkXJTrtp4o9ZyJMAtGZYL11cQyIESGh20ZrGbeW3c3EwXrVARH aVR1EadMhrBX56nUagM97oA9VCFNC2YCgW44Y29HpDV4gcaoL24h41cQKzd7TMPl8zPn KxZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752505946; x=1753110746; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cx6ziamoWq/gkiWE9xIfelI0NAD0ajqX4OlwBh79k94=; b=qxOGMy/Wvnnw5n3I+rESUAapIfjgUuOxwKcHS5X7MQrAgPdgOhZ5BzBKd02Y6pDMdc N/fMcwOAFkJA4Pocr61KE8d/s8VAfylkvGotmuaiDE4hZatUhijZYzLACgIcR20ZsblK M8tzVF6qDd6yTXBZi60Wjbob4ko7d4C6PEt5+WUDGNGQShzxZ7yW73l5JAU4VGyBuqvj CBT7obqvQuYmGZBq5Eu3ELMC2Cm+K1uxKz88LScwxC81eHYg8kB+r1jeWuQzQMeRGWPU boE6W9Hex/hX33FALw7WIYBLkjziCTnQ8IGkfccOmgi7UIp3AdTyZaQMpUL7LOd0JtrM mt1w== X-Gm-Message-State: AOJu0YzxiPY99CcbK5m+Zn7k9HEqiLlpsRCArS0KOgcspJQIqxFUCN6C npalmXv1Crp3tbIc+GXlBdc2IS+X8IUmzUdZWZBboY8EO6F10gpgEMCyRAol+t7y X-Gm-Gg: ASbGncspuf7Lboqxs95KpFs+Tkyhz6+uXvRfAIA69+fkDT7Q1SyjjCOdgx6k24DLZh+ GvF1I/NhTIQkTlr/0YLvHO1G1qHbYC4X1NipXJX+gcn0GEJr6DbSPWa53QSVIxhvU3ObbOcG0AF 2D85CmW5dODa7hqS+eRCXa86S6BKsGoLU6O5mJ+zqjvVruPAXV39x19HuOENBhiLQyH71AabGiN 98jXL+meumr1bEHrsbUtK/IvlM21eUZlQ/AhvXeDatPU7BGy6swFTMjb3yrLS1hXCoDSAW9aC06 cJ0mV16DRlAI9JnhYXtC2+5k4K+Ow6lVVaEwzFv3VFeHcLaep2P1h1iAlbiw+1/sVGQy9IobhTf GXV8cmCJwaplIQxIdoWMaf9CNpIOE X-Google-Smtp-Source: AGHT+IESQefvwJ0yihpxkO4i0/ASz0SjB5TbPA/n5FOeVXT6DElaaIIny0XMvo/v0Zhay+YUoh4aDg== X-Received: by 2002:a5d:5d0e:0:b0:3b4:9721:2b16 with SMTP id ffacd0b85a97d-3b5f2dfdff8mr10112936f8f.36.1752505946107; Mon, 14 Jul 2025 08:12:26 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:a923:75e5:f97f:ef33]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-3b5e8dc201asm12531707f8f.22.2025.07.14.08.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jul 2025 08:12:25 -0700 (PDT) From: luca.boccassi@gmail.com To: Jiawen Wu Cc: dpdk stable Subject: patch 'net/txgbe: fix reserved extra FDIR headroom' has been queued to stable release 22.11.9 Date: Mon, 14 Jul 2025 16:11:01 +0100 Message-ID: <20250714151121.219866-6-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250714151121.219866-1-luca.boccassi@gmail.com> References: <20250630122556.1133654-23-luca.boccassi@gmail.com> <20250714151121.219866-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.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 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 --- 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@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,