Netdev List
 help / color / mirror / Atom feed
From: Maxime Chevallier <maxime.chevallier@bootlin.com>
To: Hee-Suk Kim <hskim@dilluti0n.com>, netdev@vger.kernel.org
Cc: "Andrew Lunn" <andrew@lunn.ch>,
	"Heiner Kallweit" <hkallweit1@gmail.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Willem de Bruijn" <willemb@google.com>,
	"Simon Horman" <horms@kernel.org>,
	"Daniel Golle" <daniel@makrotopia.org>,
	nic_swsd@realtek.com, "Andrew Lunn" <andrew+netdev@lunn.ch>,
	linux-kernel@vger.kernel.org, javen <javen_xu@realsil.com.cn>,
	"Björn Töpel" <bjorn@kernel.org>
Subject: Re: [PATCH net-next v2 1/4] net: ethtool: add 500baseT2 link mode
Date: Sat, 5 Dec 2026 09:18:53 +0100	[thread overview]
Message-ID: <31418f01-3ec4-413e-8842-2717e04fefe7@bootlin.com> (raw)
In-Reply-To: <20261205-giga-lite-v2-1-5b84410edb9f@dilluti0n.com>

Hi,

On 12/5/26 05:00, Hee-Suk Kim wrote:
> Add ETHTOOL_LINK_MODE_500baseT2_Full_BIT and SPEED_500 for 500 Mbps
> over two pairs, together with the matching phylib link capability.
> 
> Signed-off-by: Hee-Suk Kim <hskim@dilluti0n.com>

[...]

> @@ -295,6 +298,10 @@ unsigned long phy_caps_from_interface(phy_interface_t interface)
>  {
>  	unsigned long link_caps = 0;
>  
> +	/* The only PHYs known to support 500baseT2 are attached over GMII */
> +	if (interface == PHY_INTERFACE_MODE_GMII)
> +		link_caps |= BIT(LINK_CAPA_500FD);
> +

This whole patch seems good to me, with all the phy_caps and all, the only question
I have is about the xMII mode used. Is it really GMII, or some tweaked version of it ?

I guess the MAC to PHY mode on these setups isn't pure GMII, but likely a modified
of it, with a different clock rate ? at 1G the GMII is clocked at 125MHz, do you know
what's going on at 500M ?

Does a PHY that supports 500BaseT2 also support other 2-pair modes, like 100BaseTX ?
IOW, can the xMII used here adapt for multiple speeds like GMII ?

We may need a dedicated phy_interface_t value for the xMII here is what I mean :)

Maxime

  reply	other threads:[~2026-12-05  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  4:00 [PATCH net-next v2 0/4] net: add Giga Lite (500baseT2) support for RTL8168H/EP/FP Hee-Suk Kim
2026-12-05  4:00 ` [PATCH net-next v2 1/4] net: ethtool: add 500baseT2 link mode Hee-Suk Kim
2026-12-05  8:18   ` Maxime Chevallier [this message]
2026-12-05  4:00 ` [PATCH net-next v2 2/4] net: phylink: add MAC_500FD Hee-Suk Kim
2026-12-05  8:19   ` Maxime Chevallier
2026-12-05  4:00 ` [PATCH net-next v2 3/4] net: phy: realtek: add Giga Lite support Hee-Suk Kim
2026-12-05  4:00 ` [PATCH net-next v2 4/4] r8169: enable Giga Lite on RTL8168H/EP/FP Hee-Suk Kim

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=31418f01-3ec4-413e-8842-2717e04fefe7@bootlin.com \
    --to=maxime.chevallier@bootlin.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=bjorn@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=horms@kernel.org \
    --cc=hskim@dilluti0n.com \
    --cc=javen_xu@realsil.com.cn \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    --cc=pabeni@redhat.com \
    --cc=willemb@google.com \
    /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