[PATCH net-next v1 0/7] make SmartEEE support controllable

From: Oleksij Rempel
Date: Tue Feb 14 2023 - 04:04:07 EST


Some PHYs (for example AR8035) provide so called SmartEEE support. Which
allows to use EEE with MACs withotu EEE ability.

Since this functionality is usually enabled by default, it may have
negative impact in some use cases (for example PTP). Or even preventing use of
all link modes without PHY driver assistance (for example full range of
half-duplex modes).

To address at leas some of this issues we need to pass EEE ethtool access to
PHY drivers. Which is done in this patch set.

Oleksij Rempel (7):
net: phy: add driver specific get/set_eee support
net: phy: at803x: implement ethtool access to SmartEEE functionality
net: phy: at803x: ar8035: fix EEE support for half duplex links
net: phy: add PHY specifica flag to signal SmartEEE support
net: phy: at803x: add PHY_SMART_EEE flag to AR8035
net: phy: add phy_has_smarteee() helper
net: fec: add support for PHYs with SmartEEE support

drivers/net/ethernet/freescale/fec_main.c | 22 +++-
drivers/net/phy/at803x.c | 142 +++++++++++++++++++++-
drivers/net/phy/phy.c | 6 +
include/linux/phy.h | 15 +++
4 files changed, 175 insertions(+), 10 deletions(-)

--
2.30.2