public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Ashok Kumar Natarajan <ashokkumar.natarajan@amd.com>
To: <dev@dpdk.org>
Cc: <Selwin.Sebastian@amd.com>,
	Ashok Kumar Natarajan <ashokkumar.natarajan@amd.com>,
	<stable@dpdk.org>
Subject: [PATCH v1 3/4] net/axgbe: fix auto-neg advert/supported defs
Date: Fri, 27 Mar 2026 17:50:05 +0530	[thread overview]
Message-ID: <20260327122011.1534-3-ashokkumar.natarajan@amd.com> (raw)
In-Reply-To: <20260327122011.1534-1-ashokkumar.natarajan@amd.com>

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@dpdk.org

Signed-off-by: Ashok Kumar Natarajan <ashokkumar.natarajan@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


  parent reply	other threads:[~2026-03-27 12:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-27 12:20 [PATCH v1 1/4] net/axgbe: fix MAC TCR speed select field width Ashok Kumar Natarajan
2026-03-27 12:20 ` [PATCH v1 2/4] net/axgbe: add 100 Mbps MAC speed select Ashok Kumar Natarajan
2026-03-27 12:20 ` Ashok Kumar Natarajan [this message]
2026-03-27 12:20 ` [PATCH v1 4/4] net/axgbe: fix SGMII autoneg status bits Ashok Kumar Natarajan
2026-03-27 16:21 ` [PATCH v1 1/4] net/axgbe: fix MAC TCR speed select field width Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260327122011.1534-3-ashokkumar.natarajan@amd.com \
    --to=ashokkumar.natarajan@amd.com \
    --cc=Selwin.Sebastian@amd.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox