patch 'net/axgbe: fix 100M SGMII mode' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:02:49 CET 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 03/23/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/d790fd1e38372741abe6fbc6167340de74ac4a71
Thanks.
Kevin
---
>From d790fd1e38372741abe6fbc6167340de74ac4a71 Mon Sep 17 00:00:00 2001
From: Ashok Kumar Natarajan <ashokkumar.natarajan at amd.com>
Date: Sat, 28 Feb 2026 20:10:33 +0530
Subject: [PATCH] net/axgbe: fix 100M SGMII mode
[ upstream commit 11b918959cd924fc6ad09d8cae1a86411490218a ]
In SGMII 100M mode, set MAC speed to 100M instead of 1G,
and add the PHY implementation for SGMII 100 mode.
Fixes: a5c7273771e8 ("net/axgbe: add phy programming APIs")
Signed-off-by: Ashok Kumar Natarajan <ashokkumar.natarajan at amd.com>
---
drivers/net/axgbe/axgbe_mdio.c | 4 ++--
drivers/net/axgbe/axgbe_phy_impl.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/drivers/net/axgbe/axgbe_mdio.c b/drivers/net/axgbe/axgbe_mdio.c
index 952a0add62..a37cd8b80d 100644
--- a/drivers/net/axgbe/axgbe_mdio.c
+++ b/drivers/net/axgbe/axgbe_mdio.c
@@ -156,6 +156,6 @@ static void axgbe_sgmii_100_mode(struct axgbe_port *pdata)
{
- /* Set MAC to 1G speed */
- pdata->hw_if.set_speed(pdata, SPEED_1000);
+ /* Set MAC to 100M speed */
+ pdata->hw_if.set_speed(pdata, SPEED_100);
/* Call PHY implementation support to complete rate change */
diff --git a/drivers/net/axgbe/axgbe_phy_impl.c b/drivers/net/axgbe/axgbe_phy_impl.c
index 9249e11335..6a1d926b26 100644
--- a/drivers/net/axgbe/axgbe_phy_impl.c
+++ b/drivers/net/axgbe/axgbe_phy_impl.c
@@ -1498,4 +1498,16 @@ static void axgbe_phy_sgmii_1000_mode(struct axgbe_port *pdata)
}
+static void axgbe_phy_sgmii_100_mode(struct axgbe_port *pdata)
+{
+ struct axgbe_phy_data *phy_data = pdata->phy_data;
+
+ axgbe_phy_set_redrv_mode(pdata);
+
+ /* 100M/SGMII */
+ axgbe_phy_perform_ratechange(pdata, AXGBE_MB_CMD_SET_1G, AXGBE_MB_SUBCMD_100MBITS);
+
+ phy_data->cur_mode = AXGBE_MODE_SGMII_100;
+}
+
static void axgbe_phy_sgmii_10_mode(struct axgbe_port *pdata)
{
@@ -1695,4 +1707,7 @@ static void axgbe_phy_set_mode(struct axgbe_port *pdata, enum axgbe_mode mode)
axgbe_phy_sgmii_1000_mode(pdata);
break;
+ case AXGBE_MODE_SGMII_100:
+ axgbe_phy_sgmii_100_mode(pdata);
+ break;
case AXGBE_MODE_SGMII_10:
axgbe_phy_sgmii_10_mode(pdata);
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:08.602933918 +0000
+++ 0051-net-axgbe-fix-100M-SGMII-mode.patch 2026-03-19 10:01:07.118822959 +0000
@@ -1 +1 @@
-From 11b918959cd924fc6ad09d8cae1a86411490218a Mon Sep 17 00:00:00 2001
+From d790fd1e38372741abe6fbc6167340de74ac4a71 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 11b918959cd924fc6ad09d8cae1a86411490218a ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -32 +33 @@
-index e180fd28e1..369d766884 100644
+index 9249e11335..6a1d926b26 100644
@@ -35 +36 @@
-@@ -1644,4 +1644,16 @@ static void axgbe_phy_sgmii_1000_mode(struct axgbe_port *pdata)
+@@ -1498,4 +1498,16 @@ static void axgbe_phy_sgmii_1000_mode(struct axgbe_port *pdata)
@@ -52 +53 @@
-@@ -1841,4 +1853,7 @@ static void axgbe_phy_set_mode(struct axgbe_port *pdata, enum axgbe_mode mode)
+@@ -1695,4 +1707,7 @@ static void axgbe_phy_set_mode(struct axgbe_port *pdata, enum axgbe_mode mode)
More information about the stable
mailing list