Skip to content

net: phy: smsc: add support for edpd tunable

Heiner Kallweit netdev 2 versions Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 7 repliesApplied 7/7
  2. v17 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- rename constant to EDPD_MAX_WAIT_DFLT_MS in patch 5
- consider that core locks phydev->lock in patch 6

Patches in v2 All 7 applied

#Subject and filesSizeRepliesApplied
1/7net: phy: smsc: rename flag energy_enabledrivers/net/phy/smsc.c+5 -51 replyApplied
2/7net: phy: smsc: add helper smsc_phy_config_edpddrivers/net/phy/smsc.c+13 -31 replyApplied
3/7net: phy: smsc: clear edpd_enable if interrupt mode is useddrivers/net/phy/smsc.c+5 -31 replyApplied
4/7net: phy: smsc: add flag edpd_mode_set_by_userdrivers/net/phy/smsc.c+3 -11 replyApplied
5/7net: phy: smsc: prepare for making edpd wait period configurabledrivers/net/phy/smsc.c+11 -31 replyApplied
6/7net: phy: smsc: add support for edpd tunabledrivers/net/phy/smsc.c include/linux/smscphy.h+79 -01 replyApplied
7/7net: phy: smsc: enable edpd tunable supportdrivers/net/phy/smsc.c+12 -01 replyApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/7] net: phy: smsc: add support for edpd tunable

This adds support for the EDPD PHY tunable.
Per default EDPD is disabled in interrupt mode, the tunable can be used to override this, e.g. if the link partner doesn't use EDPD. The interval to check for energy can be chosen between 1000ms and 2000ms. Note that this value consists of the 1000ms phylib interval for state machine runs plus the time to wait for energy being detected.

v2:
- rename constant to EDPD_MAX_WAIT_DFLT_MS in patch 5
- consider that core locks phydev->lock in patch 6

Heiner Kallweit (7):
net: phy: smsc: rename flag energy_enable
net: phy: smsc: add helper smsc_phy_config_edpd
net: phy: smsc: clear edpd_enable if interrupt mode is used
net: phy: smsc: add flag edpd_mode_set_by_user
net: phy: smsc: prepare for making edpd wait period configurable
net: phy: smsc: add edpd tunable support
net: phy: smsc: enable edpd tunable support

 drivers/net/phy/smsc.c  | 131 ++++++++++++++++++++++++++++++++++++----
 include/linux/smscphy.h |   4 ++
 2 files changed, 124 insertions(+), 11 deletions(-)
Signature · 1 line
2.40.0