patch 'net/axgbe: fix SGMII auto-negotiation status bits' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Wed Apr 1 13:56:59 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

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

Thanks.

Kevin

---
>From 4c83687cfd116c8e604fa77e1c93137d9086400f Mon Sep 17 00:00:00 2001
From: Ashok Kumar Natarajan <ashokkumar.natarajan at amd.com>
Date: Fri, 27 Mar 2026 17:50:06 +0530
Subject: [PATCH] net/axgbe: fix SGMII auto-negotiation status bits

[ upstream commit 973854fe4b7ec8bc03539dc6c27ca0168f4296ae ]

The SGMII autonegotiation status bit definitions do not match the
hardware specification. The link status and duplex bits are defined
at incorrect positions, which can lead to incorrect link state and
duplex reporting.

Correct the SGMII autoneg status bit definitions to align with the
hardware specification.

Fixes: 572890ef6625 ("net/axgbe: add structs for MAC init and reset")

Signed-off-by: Ashok Kumar Natarajan <ashokkumar.natarajan at amd.com>
---
 drivers/net/axgbe/axgbe_ethdev.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/axgbe/axgbe_ethdev.h b/drivers/net/axgbe/axgbe_ethdev.h
index b94a7f3562..8f5835eff3 100644
--- a/drivers/net/axgbe/axgbe_ethdev.h
+++ b/drivers/net/axgbe/axgbe_ethdev.h
@@ -115,10 +115,10 @@
 #define AXGBE_KR_TRAINING_WAIT_ITER	50
 
-#define AXGBE_SGMII_AN_LINK_STATUS	BIT(1)
+#define AXGBE_SGMII_AN_LINK_STATUS	BIT(4)
 #define AXGBE_SGMII_AN_LINK_SPEED	(BIT(2) | BIT(3))
 #define AXGBE_SGMII_AN_LINK_SPEED_10	0x00
 #define AXGBE_SGMII_AN_LINK_SPEED_100	0x04
 #define AXGBE_SGMII_AN_LINK_SPEED_1000	0x08
-#define AXGBE_SGMII_AN_LINK_DUPLEX	BIT(4)
+#define AXGBE_SGMII_AN_LINK_DUPLEX	BIT(1)
 
 /* ECC correctable error notification window (seconds) */
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-04-01 12:56:52.597360436 +0100
+++ 0021-net-axgbe-fix-SGMII-auto-negotiation-status-bits.patch	2026-04-01 12:56:52.021707928 +0100
@@ -1 +1 @@
-From 973854fe4b7ec8bc03539dc6c27ca0168f4296ae Mon Sep 17 00:00:00 2001
+From 4c83687cfd116c8e604fa77e1c93137d9086400f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 973854fe4b7ec8bc03539dc6c27ca0168f4296ae ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 24336f31f6..77c21469a8 100644
+index b94a7f3562..8f5835eff3 100644



More information about the stable mailing list