[PATCH v1 2/4] net/axgbe: add 100 Mbps MAC speed select
Ashok Kumar Natarajan
ashokkumar.natarajan at amd.com
Fri Mar 27 13:20:04 CET 2026
SPEED_100 is not handled, leaving the MAC speed select unprogrammed
when a 100 Mbps link is used.
Add the required speed select (SS) encoding so the MAC is configured
according to the hardware specification for 100 Mbps operation.
Fixes: a5c7273771e8 ("net/axgbe: add phy programming APIs")
Cc: stable at dpdk.org
Signed-off-by: Ashok Kumar Natarajan <ashokkumar.natarajan at amd.com>
---
drivers/net/axgbe/axgbe_dev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/axgbe/axgbe_dev.c b/drivers/net/axgbe/axgbe_dev.c
index 10a99aeac2..482d3d8062 100644
--- a/drivers/net/axgbe/axgbe_dev.c
+++ b/drivers/net/axgbe/axgbe_dev.c
@@ -303,6 +303,9 @@ static int axgbe_set_speed(struct axgbe_port *pdata, int speed)
case SPEED_10:
ss = 0x07;
break;
+ case SPEED_100:
+ ss = 0x04;
+ break;
case SPEED_1000:
ss = 0x03;
break;
--
2.34.1
More information about the dev
mailing list