]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: Add 2500baseT EEE status/configuration support
authorBirger Koblitz <mail@birger-koblitz.de>
Tue, 24 Feb 2026 17:40:14 +0000 (18:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Feb 2026 02:42:22 +0000 (18:42 -0800)
commite8e83b67960c20a9e60d4181631509d59f03488b
tree676414d18a20fd2acaf99804720b4a7102185ad3
parentc31770c49348fb019167fa95119f330597c99193
r8152: Add 2500baseT EEE status/configuration support

The r8152 driver supports the RTL8156, which is a 2.5Gbit Ethernet controller for
USB 3.0, for which support is added for configuring and displaying the EEE
advertisement status for 2.5GBit connections.

The patch also corrects the determination of whether EEE is active to include
the 2.5GBit connection status and make the determination dependent not on the
desired speed configuration (tp->speed), but on the actual speed used by
the controller. For consistency, this is corrected also for the RTL8152/3.

This was tested on an Edimax EU-4307 V1.0 USB-Ethernet adapter with RTL8156,
and a SECOMP Value 12.99.1115 USB-C 3.1 Ethernet converter with RTL8153.

Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>
Link: https://patch.msgid.link/20260224-b4-eee2g5-v2-1-cf5c83df036e@birger-koblitz.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/r8152.c