[PATCH net-next v2 0/4] net: add Giga Lite (500baseT2) support for RTL8168H/EP/FP

From: Hee-Suk Kim

Date: Fri Dec 04 2026 - 23:01:27 EST


Giga Lite is a Realtek proprietary mode which allows links of up to
500 Mbps over two-pair cabling. In South Korea, it is widely used to
support 500 Mbps plans by most ISPs. The vendor driver [1] sets PHY
page 0xa42, reg 0x14, bit 9 to allow it on RTL8168H and FP. The driver
does not handle RTL8168EP but I confirmed the same works for it by
setting the PHY register via SIOCSMIIREG on an SK Broadband 500 Mbps
plan [2].

With bit 9 set, the link still came up at about 470 Mbps even when
only 10/100 was advertised. As suggested by Heiner and Andrew, this
series exposes it as a new link mode,
ETHTOOL_LINK_MODE_500baseT2_Full, with SPEED_500. The PHY driver sets
bit 9 when 500baseT2/Full is advertised with autonegotiation enabled,
and clears it otherwise. The mode is advertised by default, and users
can turn it off with ethtool without touching the other modes.

Bit 9 is not reflected in any C22 advertisement register, and the PHY
negotiates Giga Lite on its own. As a result, the link partner's
support for it is not visible, and 500baseT2/Full never appears in the
link partner advertised modes. This only affects reporting, as the
resolved speed is read from PHYSR.

The vendor drivers for RTL8125, RTL8126 and RTL8127 set the same bit,
but they read the link speed from the MAC, so it is not confirmed
that PHYSR reports 0x30 on those chips. They also use a different
PHY driver entry. They are left out of this series, as are the other
Lite modes (OCP 0xa5ea) and 1000baseT2/Full.

[1] https://github.com/mtorromeo/r8168/blob/b3e24e4aa74a3561618d0abf01b708bd55def57a/src/r8168_n.c#L6375-L6390
[2] https://www.tworld.co.kr/web/product/callplan/NI00000567

---
Test results on a ThinkPad T14 Gen 5 (RTL8168ep/8111ep, XID 502) with
an SK Broadband 500 Mbps plan ("before"/"after" = without/with this
series, throughput by fast.com):

kernel advertised bit 9 PHYSR reported throughput
------ --------------------- ------------ ----- ----------- ----------
before 10/100/1000 clear 0x10 100 94 Mbps
before 10/100/1000 set manually 0x30 100 or 1000 470 Mbps
after 10/100/500T2/1000 set 0x30 500 462 Mbps
after 10/100/1000 clear 0x10 100 93 Mbps
after 10/100/500T2 set 0x30 500 461 Mbps
after 10/100 clear 0x10 100 93 Mbps
after autoneg off, 100/Full clear 0x10 100 93 Mbps

As ethtool cannot show Giga Lite for the link partner, it reported
only 10/100 in the link partner advertised modes in all "after" cases,
even on a Giga Lite link. The advertisement set with ethtool, with and
without 500baseT2/Full, was kept across ip link down/up and across
suspend/resume (s2idle).

---
Changes in v2:
- Split into ethtool, phylink, PHY and MAC patches (Heiner)
- Add ETHTOOL_LINK_MODE_500baseT2_Full and SPEED_500, and report a
Giga Lite link as 500 instead of 1000 (Andrew, Heiner)
- Gate bit 9 on 500baseT2/Full instead of 1000baseT/Full
- Enable on RTL8168H and RTL8168FP as well (Heiner)
- Explain Giga Lite in a code comment (Heiner)
- Link to v1: https://lore.kernel.org/r/20261010135356.85454-1-hskim@xxxxxxxxxxxxx

---
Hee-Suk Kim (4):
net: ethtool: add 500baseT2 link mode
net: phylink: add MAC_500FD
net: phy: realtek: add Giga Lite support
r8169: enable Giga Lite on RTL8168H/EP/FP

MAINTAINERS | 1 +
drivers/net/ethernet/realtek/r8169_main.c | 24 ++++++++++++++
drivers/net/phy/phy-caps.h | 1 +
drivers/net/phy/phy-core.c | 4 ++-
drivers/net/phy/phy_caps.c | 7 +++++
drivers/net/phy/phylink.c | 1 +
drivers/net/phy/realtek/realtek_main.c | 52 +++++++++++++++++++++++++++++++
include/linux/phylink.h | 29 ++++++++---------
include/linux/realtek_phy.h | 10 ++++++
include/uapi/linux/ethtool.h | 2 ++
net/ethtool/common.c | 3 ++
11 files changed, 119 insertions(+), 15 deletions(-)
---
base-commit: d5cf954cebe4f175dfd834e1dc471a3aa203ec7d
change-id: 20261116-giga-lite-2cf802c97bd4

Best regards,
--
Hee-Suk Kim <hskim@xxxxxxxxxxxxx>