patch 'net/txgbe: do not force reconfig on link retry' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:04:31 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.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 12/08/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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/c8f1f6dfe7c70b0c665e9c1d1eae9426a9fdc530
Thanks.
Kevin
---
>From c8f1f6dfe7c70b0c665e9c1d1eae9426a9fdc530 Mon Sep 17 00:00:00 2001
From: Zaiyu Wang <zaiyuwang at trustnetic.com>
Date: Wed, 28 Oct 2026 18:33:54 +0800
Subject: [PATCH] net/txgbe: do not force reconfig on link retry
[ upstream commit 08a8160b9273f2536a125437431ffa808458e3bd ]
The link alarm retry calls mac.setup_link() with
autoneg_wait_to_complete = false. On the AN73/xpcs path, this skips
reconfiguration once the link is up and AN is complete. Passing true
from the retry path instead resets an established AN73 link, which
then drops and may not recover after DAC hot-plug.
The setup flag is also passed to txgbe_e56_set_phy_link_mode() as its
need_restart argument. Passing false unchanged would make a retry a
no-op while the link is down or AN is incomplete if the PHY is already
in 10G mode. Pass true there: the early return above already covers an
established link, so every path that reaches this point needs the
restart.
Fixes: 6104fd11086e ("net/txgbe: fix link stability for 25G NIC")
Signed-off-by: Zaiyu Wang <zaiyuwang at trustnetic.com>
---
drivers/net/txgbe/base/txgbe_aml.c | 3 ++-
drivers/net/txgbe/base/txgbe_aml40.c | 3 ++-
drivers/net/txgbe/txgbe_ethdev.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/txgbe/base/txgbe_aml.c b/drivers/net/txgbe/base/txgbe_aml.c
index ac80d85f08..de4db31cf8 100644
--- a/drivers/net/txgbe/base/txgbe_aml.c
+++ b/drivers/net/txgbe/base/txgbe_aml.c
@@ -247,6 +247,7 @@ s32 txgbe_setup_phy_link_aml(struct txgbe_hw *hw,
if (link_up && hw->an_done && !autoneg_wait_to_complete)
return status;
+
rte_spinlock_lock(&hw->phy_lock);
- txgbe_e56_set_phy_link_mode(hw, speed, autoneg_wait_to_complete);
+ txgbe_e56_set_phy_link_mode(hw, speed, true);
rte_spinlock_unlock(&hw->phy_lock);
return 0;
diff --git a/drivers/net/txgbe/base/txgbe_aml40.c b/drivers/net/txgbe/base/txgbe_aml40.c
index 5fa7c6a243..ab7012608f 100644
--- a/drivers/net/txgbe/base/txgbe_aml40.c
+++ b/drivers/net/txgbe/base/txgbe_aml40.c
@@ -172,6 +172,7 @@ s32 txgbe_setup_phy_link_aml40(struct txgbe_hw *hw,
if (link_up && hw->an_done && !autoneg_wait_to_complete)
return status;
+
rte_spinlock_lock(&hw->phy_lock);
- txgbe_e56_set_phy_link_mode(hw, speed, autoneg_wait_to_complete);
+ txgbe_e56_set_phy_link_mode(hw, speed, true);
rte_spinlock_unlock(&hw->phy_lock);
return status;
diff --git a/drivers/net/txgbe/txgbe_ethdev.c b/drivers/net/txgbe/txgbe_ethdev.c
index 5cd95f3b6f..b7a3598a57 100644
--- a/drivers/net/txgbe/txgbe_ethdev.c
+++ b/drivers/net/txgbe/txgbe_ethdev.c
@@ -3301,5 +3301,5 @@ txgbe_dev_setup_link_alarm_handler_aml(void *param)
}
- hw->mac.setup_link(hw, speed, true);
+ hw->mac.setup_link(hw, speed, false);
u32 link_speed = TXGBE_LINK_SPEED_UNKNOWN;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:48.949889737 +0000
+++ 0345-net-txgbe-do-not-force-reconfig-on-link-retry.patch 2026-12-03 12:52:39.264234855 +0000
@@ -1 +1 @@
-From 08a8160b9273f2536a125437431ffa808458e3bd Mon Sep 17 00:00:00 2001
+From c8f1f6dfe7c70b0c665e9c1d1eae9426a9fdc530 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 08a8160b9273f2536a125437431ffa808458e3bd ]
+
@@ -20 +21,0 @@
-Cc: stable at dpdk.org
@@ -56 +57 @@
-index f20e57125d..2f513e20b9 100644
+index 5cd95f3b6f..b7a3598a57 100644
@@ -59 +60 @@
-@@ -3229,5 +3229,5 @@ txgbe_dev_setup_link_alarm_handler_aml(void *param)
+@@ -3301,5 +3301,5 @@ txgbe_dev_setup_link_alarm_handler_aml(void *param)
More information about the stable
mailing list