[PATCH v1 3/4] net/axgbe: fix auto-neg advert/supported defs

Ashok Kumar Natarajan ashokkumar.natarajan at amd.com
Fri Mar 27 13:20:05 CET 2026


This patch corrects the auto‑negotiation advertised and supported
macro definitions in the axgbe driver. The previous mappings did not
properly reflect the PHY capabilities, leading to incorrect feature
advertisement and negotiation behavior. The updated macros ensure
accurate reporting and alignment with valid link modes.

Fixes: 562825a03435 ("net/axgbe: add phy register map and helper macros")
Cc: stable at dpdk.org

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

diff --git a/drivers/net/axgbe/axgbe_phy.h b/drivers/net/axgbe/axgbe_phy.h
index 1bedd8e132..e5568cce5f 100644
--- a/drivers/net/axgbe/axgbe_phy.h
+++ b/drivers/net/axgbe/axgbe_phy.h
@@ -211,7 +211,7 @@
 #define ADVERTISED_1000baseKX_Full	(1 << 17)
 #define ADVERTISED_1000baseT_Full	(1 << 5)
 #define ADVERTISED_100baseT_Full	(1 << 3)
-#define ADVERTISED_10baseT_Full		(1 << 2)
+#define ADVERTISED_10baseT_Full		(1 << 1)
 #define ADVERTISED_TP			(1 << 7)
 #define ADVERTISED_FIBRE		(1 << 10)
 #define ADVERTISED_Backplane            (1 << 16)
@@ -219,8 +219,8 @@
 #define SUPPORTED_1000baseKX_Full       (1 << 17)
 #define SUPPORTED_10000baseKR_Full      (1 << 19)
 #define SUPPORTED_2500baseX_Full	(1 << 15)
-#define SUPPORTED_10baseT_Full		(1 << 3)
-#define SUPPORTED_100baseT_Full         (1 << 2)
+#define SUPPORTED_10baseT_Full		(1 << 1)
+#define SUPPORTED_100baseT_Full         (1 << 3)
 #define SUPPORTED_1000baseT_Full        (1 << 5)
 #define SUPPORTED_10000baseT_Full       (1 << 12)
 #define SUPPORTED_2500baseX_Full        (1 << 15)
-- 
2.34.1



More information about the dev mailing list