From: Andrew Lunn <andrew@lunn.ch>
To: "D H, Siddaraju" <siddaraju.dh@intel.com>
Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>,
David Laight <david.laight.linux@gmail.com>,
Michal Kubecek <mkubecek@suse.cz>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"Chintalapalle, Balaji" <balaji.chintalapalle@intel.com>,
"Das, Shubham" <shubham.das@intel.com>,
"Srinivasan, Vijay" <vijay.srinivasan@intel.com>,
"Samudrala, Sridhar" <sridhar.samudrala@intel.com>,
"Keller, Jacob E" <jacob.e.keller@intel.com>,
"Nguyen, Anthony L" <anthony.l.nguyen@intel.com>,
"singhai.anjali55@gmail.com" <singhai.anjali55@gmail.com>,
"Brandeburg, Jesse" <jbrandeburg@cloudflare.com>
Subject: Re: Ethtool is missing C2C link modes
Date: Tue, 14 Jul 2026 21:43:47 +0200 [thread overview]
Message-ID: <20dde8ba-5429-45e2-8071-ce83f1c2d6c0@lunn.ch> (raw)
In-Reply-To: <SN7PR11MB6900984B5FBD60B71B3B8F329AF92@SN7PR11MB6900.namprd11.prod.outlook.com>
> Siddaraju: baseR is an end-to-end physical layer type that clearly defines
> the interface & components stating from MAC RS(Reconciliation Sublayer)
> till the PMD + MDI signallings. AUI is an intermediate electrical interface
> layer(simplified KR) that connects 2 PMAs (PMA <=== AUI ===> PMA).
> AUI is a split function design approach where subfunction implementation
> from multiple vendors come together to exploit their domain expertise
> to produce a best Ethernet interconnect.
> Andrew: I _think_ ethtool reports the media, not some intermediary format.
> Is ETHTOOL_LINK_MODE_25000baseC2C_Full_BIT actually needed?
> Siddaraju: We are here to find out that Andrew :).
> If we are following the strict convention that ethtool link modes
> report & represents the end-to-end flow "ONLY", then yes, AUI doesn't
> fit there. We are exploring phy_interface_t for intermediate interfaces
> and we hope we don't hit any roadblocks. Let's see.
Given these two answer, phy_interface_t is a better fit. I'm however
not sure it is fully correct. Historically, it was used to indicate
the interface between the MAC and base-T PHYs. PCS and PMD either did
not exist, or was an invisible layer, back in those days. At that
point phy_interface_t was the bottom of the reconciliation layer?
The introduction of SGMII and 1000BaseX made PCS a thing, even if
initially it was generally hidden away. PHY_INTERFACE_MODE_SGMII then
corresponds to the bottom of the PCS, with the Base-T PHY also talking
SGMII. phy_interface_t then moves from the reconciliation layer to a
lower layer?
So what exactly does phy_interface_t mean?
And historically, we have only had a single phy_interface_t value. Are
there use cases for needing different C2C values are different layers?
Could you have a single lane 100G C2C split into 4 lanes of 25G C2C?
Another thing we should consider. Most NICs above 10G currently don't
have Linux controlling the hardware. These lower layers are all hidden
away in firmware. For you hardware, is Linux actually controlling any
of this? Are you adding support to phylink for these intermediary
building blocks? Should Linux currently care about C2C?
Andrew
next prev parent reply other threads:[~2026-07-14 19:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 21:45 Ethtool is missing C2C link modes D H, Siddaraju
2026-07-10 22:54 ` Andrew Lunn
2026-07-11 6:31 ` David Laight
2026-07-11 8:42 ` Maxime Chevallier
2026-07-14 13:29 ` D H, Siddaraju
2026-07-14 19:43 ` Andrew Lunn [this message]
2026-07-21 22:43 ` Srinivasan, Vijay
2026-07-21 23:12 ` Andrew Lunn
2026-07-21 23:29 ` Srinivasan, Vijay
2026-07-22 12:52 ` Andrew Lunn
2026-07-22 17:36 ` Srinivasan, Vijay
2026-07-27 22:11 ` D H, Siddaraju
2026-07-13 23:18 ` Eric Joyner
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=20dde8ba-5429-45e2-8071-ce83f1c2d6c0@lunn.ch \
--to=andrew@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=balaji.chintalapalle@intel.com \
--cc=david.laight.linux@gmail.com \
--cc=jacob.e.keller@intel.com \
--cc=jbrandeburg@cloudflare.com \
--cc=maxime.chevallier@bootlin.com \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
--cc=shubham.das@intel.com \
--cc=siddaraju.dh@intel.com \
--cc=singhai.anjali55@gmail.com \
--cc=sridhar.samudrala@intel.com \
--cc=vijay.srinivasan@intel.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