Article View: linux.kernel.netdev
Article #20530Re: [RFC PATCH net-next 0/2] Add Realtek XSGMII interface mode
From: Andrew Lunn
Date: Sun, 22 Nov 2026 21:24
Date: Sun, 22 Nov 2026 21:24
56 lines
10975 bytes
10975 bytes
On Tue, Nov 17, 2026 at 08:47:46AM +0000, Jonas Jelonek wrote:
> Hi,
>
> This RFC adds an explicit PHY interface mode for Realtek's proprietary
> XSGMII transport. It carries eight 10/100/1000 Mbps ports over one
> 10.3125 Gbaud SerDes lane. Each logical port remains limited to 1 Gbps;
> the aggregate serial rate is not a per-port Ethernet speed.
We should be careful with naming. We have already have QSGMII and
PSGMII, for Quad and Pent. X is too vague. So we should somehow
indicate 8, Oct.
But...
> Protocol identity and naming
> ----------------------------
>
> XSGMII is the name Realtek uses for this interface. Calling it simply
> "octal SGMII" would describe its capacity without identifying its
> protocol. Existing modes such as QSGMII and PSGMII already distinguish
> multiplexed MAC-PHY transports; the PSGMII introduction is an example of
> adding the generic mode definitions separately from a driver user [1].
>
> Cisco USGMII is a relevant comparison, but equivalent port capacity does
> not establish interoperability. Cisco defines Q-USGMII for four ports
> over 5.0 Gb/s and O-USGMII for eight ports over 10.0 Gb/s, using 8b/10b
> coding and a packet-control header [2]. Linux already represents the
> quad variant as "qusgmii", with its own control-word decoding [3].
>
> Realtek documents XSGMII and O-USGMII as separate RTL8218E interfaces:
> XSGMII runs at 10.3125 Gb/s and O-USGMII at 10.0 Gb/s, with different
> hardware strap selections [4]. The SDK also distinguishes them in
> phy_8218e_macIntfSerdesMode_get() and applies separate initialization
> tables. Realtek's O-USGMII is therefore the candidate for comparison
> with Cisco's octal USGMII; it is not evidence that XSGMII can be renamed
> to USGMII. Compatibility of those O-USGMII implementations would need
> separate confirmation.
>
> This proposal retains the vendor's XSGMII name rather than assigning an
> existing protocol name to a distinct hardware configuration. It does
> not assume a particular XSGMII line encoding merely from the line rate.
https://deepwiki.com/lotusmomo/airoha_sdk/3.1-sgmiixsgmii-drivers-and-apis
Airoha also seems to have an XSGMII. Is it the same, or different?
Adding Christian.
I hope we are not going to have vendors introducing there own
variants, and we need
PHY_INTERFACE_MODE_REALTEK_OSGMII & PHY_INTERFACE_MODE_AIROHA_OSGMII,
etc.
Andrew
Technical Details
Message-ID:
<df35e0d4-9f1f-4882-bc6b-257add4e9fb1@lunn.ch>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368828-linux-kernel-netdev=dewy.ruReferences:
<20261117084748.2387647-1-jonas@jonasjelonek.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368828-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [RFC PATCH net-next 0/2] Add Realtek XSGMII interface mode Date: Sun, 22 Nov 2026 22:24:24 +0100 Organization: Usenet Network Message-ID: <df35e0d4-9f1f-4882-bc6b-257add4e9fb1@lunn.ch> References: <20261117084748.2387647-1-jonas@jonasjelonek.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3726460"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:X0YPYxhBFt9occek3KRULXgnSyk= sha256:51savNooJZmrhFdoyKqhfqPFxduf3CQx4NginHdKR1Y= sha1:bDBXtnQsYYQ2i9XQAwPup3ViB4Y= sha256:+UCuVM+IBCJrPPD5FmpIcCuBnRlX3Y03zBATCOjIuC0= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 01A08125D5D; Mon, 23 Nov 2026 00:25:08 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ZwEuNxeRvL5; Mon, 23 Nov 2026 00:25:03 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368828-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id EA9C1125D84; Mon, 23 Nov 2026 00:24:52 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 439772B8BD; Sun, 22 Nov 2026 21:24:46 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795382685; b=XdfjiHnI9ais5Ol1TTShGIvI8McqQ8OVeRGZr8z6jAKpJyr6rKz88apjw+2OMmbeuCdL QVZPk4Fx1YO8lLb85wFdjQO46CCyaLbulBPXmcRMr4GICjLcHHOs5fai2566sNwPn+Zqv 1NrjIonQuf2kb56HsY3dvNy8EfMGNJ/U5cHpGCUI65qHpuGE9JFbdsTQ9We0nOvyY78vl gSfBrn5ztLrCyjlFf0rU8sxxAc9Y+UaM+nwfj2LJJVCL8kWAyIt1ywpDeeO0luTOhJhk1 WEKtDVlNzEGgNcVMawqUbQjrAMeHvetac9hk0zoNQyyguqqd+PUa/N8MTJ7kPHeVV9A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795382685; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=kMLeaGELYsYS7Led6Wuz9RBFocdL6pgm4qhWj2t96to=; b=dQ9phvb/3ql+BKjv5V38Bvdk+2b26J0q7vLmsgA8CVCCxrdluJqqFwFGCUn+FLxh2A0F Hc3IiIQkc+zMg4k4XBA9d6zXANjQMad8bAI6Cr6dr3zsoRD15OSOXWvvBnMxZl3SsNAOf MjnoHqoZg/hj9ZWH4NRXG7q7YxPhn29zHdC8vNjiWrkLQA6GcPTdaNUhHogTsG764xsCV nPjI9m0E99lKcQjnSz50pA7X13nEQCEC9awHsG4N6fXKS7yM9gM2EvigFVdHfbUzuplhV 5ZpRwynK/iOr7Mq0HYJOfffdsh8Yrapd+HC82x5dP4WCV2gikmEQUYH6ztcRSPe+qAg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=ea70ZD3R; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C29A606A334; Sun, 22 Nov 2026 21:24:45 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=ea70ZD3R X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795382684; b=jbJhoN6W3obnQCqbIz6uLlMWHWZrZwxJP7ocCnjVA4OCTqEzJGfag1RxMPJxW8YAGdeQ 0KSlknfb3PmHQqXLJM2u2OCd5k5keN0nu5IgU4kTUQvamFJ0iOhV1IFF7XrsWlNrKifkU zEvfXlAaCEU+a6vbbUPTEJ4RMwfZrd+ZM5psnYfGpJO+06xLfctgIOF37so2LOekRFT/i OsscHcd17pf+tWzZAsGf4/CtmLBXBzr2fX4hn6B9ckcH4+reP5Sw/dG3GKLDHVp4k5wFj 5WwnoxTLyJgoKH5SkzAZtwYPWmfqSdbQYXGiRBUxq6PEaD3aM8m0sdYFnsR3N0pI9WA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795382684; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=kMLeaGELYsYS7Led6Wuz9RBFocdL6pgm4qhWj2t96to=; b=3LLNW61YQtCtjpZomYrdhic4xrA/h00Q2dnKkjnnqewA4yq2QIaqeFuV2SIEiTTcBAt1 sJ+zFQBFiGpRSU5nFAEiTcNSDG9C4IAC7N3SNuL2GJJEHn/30S94jTQEX/KeXCd/4Hyzi TniJxrSzb2NCOGAfO2/ijf8MCaUrn9Iht3gxFZLI0Dr/vs9mkCYOtaAcy+N6ryNKxwXiz KQ20AHitNff0oe2rbDGMSxJ4NrOK2/5044vNjYD2JCtDxu23l8JfY2FOeViHS9R+92tN9 4L3R0XJnT1traxZsy2eN12IXk8iTDjK/gfd81udlYwTIXCAbF1qb+ZcFkxgeU0E3Czw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=ea70ZD3R; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 648FA606A31D; Sun, 22 Nov 2026 21:24:44 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 648FA606A31D X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=kMLeaGELYsYS7Led6Wuz9RBFocdL6pgm4qhWj2t96to=; b=ea70ZD3RFYf9r7Xo5xERlpSNX3 AuDkMXwq5WvQxReRV9XyZmMClcnUQvBR16VfFzUrCRcPoYscwPr3QyE2q08LU1T5iTvczF40nS10P ciejCfBk35MXituFAEK7Lq93QSePM9voI721EsyAEnhJM+1t9eJ6ZZpUjSN9nnKwQt0A=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xVF2u-000cdk-Jj; Sun, 22 Nov 2026 22:24:24 +0100 X-Cc: Andrew Lunn <andrew+netdev@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>, Simon Horman <horms@kernel.org>, netdev@vger.kernel.org, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>, Randy Dunlap <rdunlap@infradead.org>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261117084748.2387647-1-jonas@jonasjelonek.de>