Skip to content

net: stmmac: improve WOL

Jisheng Zhang linux-arm-kernel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: stmmac: Remove WAKE_MAGIC if HW shows no pmt_magic_framedrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c+2 -00 replies
2/5net: stmmac: Move device_can_wakeup() check earlier in set_woldrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c+3 -30 replies
3/5net: stmmac: only call pmt() during suspend/resume if HW enables PMTdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+3 -30 replies
4/5net: stmmac: Support WOL with phydrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c drivers/net/ethernet/stmicro/stmmac/stmmac_main.c+15 -00 replies
5/5net: stmmac: Speed down the PHY if WoL to save energydrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] net: stmmac: improve WOL

Currently, stmmac driver relies on the HW PMT to support WOL. We want to support phy based WOL.

patch1 is a small improvement to disable WAKE_MAGIC for PMT case if no pmt_magic_frame.
patch2 and patch3 are two prepation patches.
patch4 implement the phy based WOL
patch5 tries to save a bit energy if WOL is enabled.

Jisheng Zhang (5):
net: stmmac: Remove WAKE_MAGIC if HW shows no pmt_magic_frame
net: stmmac: Move device_can_wakeup() check earlier in set_wol
net: stmmac: only call pmt() during suspend/resume if HW enables PMT
net: stmmac: Support WOL with phy
net: stmmac: speed down the PHY, if WoL used, to save energy

 .../ethernet/stmicro/stmmac/stmmac_ethtool.c  | 19 ++++++++++++++++---
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 18 +++++++++++++++---
 2 files changed, 31 insertions(+), 6 deletions(-)
Signature · 1 line
2.28.0.rc0