linux/drivers/net/ethernet/marvell
Daniel González Cabanelas 5e3768a436 net: mvneta: speed down the PHY, if WoL used, to save energy
Some PHYs connected to this ethernet hardware support the WoL feature.
But when WoL is enabled and the machine is powered off, the PHY remains
waiting for a magic packet at max speed (i.e. 1Gbps), which is a waste of
energy.

Slow down the PHY speed before stopping the ethernet if WoL is enabled,
and save some energy while the machine is powered off or sleeping.

Tested using an Armada 370 based board (LS421DE) equipped with a Marvell
88E1518 PHY.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-13 15:21:11 -07:00
..
mvpp2 net: mvpp2: cls: Prevent buffer overflow in mvpp2_ethtool_cls_rule_del() 2020-05-06 14:15:46 -07:00
octeontx2 octeontx2-pf: Use the napi_alloc_frag() to alloc the pool buffers 2020-05-09 21:04:40 -07:00
Kconfig net: mvneta: introduce page pool API for sw buffer manager 2019-10-21 10:36:07 -07:00
Makefile octeontx2-af: Add Marvell OcteonTX2 RVU AF driver 2018-10-10 10:06:01 -07:00
mv643xx_eth.c net: mv643xx_eth: Remove unused inline function sum16_as_be 2020-05-05 12:07:43 -07:00
mvmdio.c net: mvmdio: avoid error message for optional IRQ 2020-03-17 20:54:37 -07:00
mvneta_bm.c net: mvneta: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:52:33 -07:00
mvneta_bm.h net: mvneta: make stub functions static inline 2019-10-25 16:21:48 -07:00
mvneta.c net: mvneta: speed down the PHY, if WoL used, to save energy 2020-05-13 15:21:11 -07:00
pxa168_eth.c net: convert additional drivers to use phy_do_ioctl 2020-01-22 21:16:32 +01:00
skge.c net: skge: reject unsupported coalescing params 2020-03-14 21:13:54 -07:00
skge.h PCI: Add constant PCI_STATUS_ERROR_BITS 2020-03-04 14:21:00 -08:00
sky2.c net: sky2: reject unsupported coalescing params 2020-03-14 21:13:54 -07:00
sky2.h PCI: Add constant PCI_STATUS_ERROR_BITS 2020-03-04 14:21:00 -08:00