This adds support for Fast Link Down as new PHY tunable. Fast Link Down reduces the time until a link down event is reported for 1000BaseT. According to the standard it's 750ms what is too long for several use cases.
This is the kernel-related series, the ethtool userspace extension I'd submit once the kernel part has been applied. Heiner Kallweit (2): ethtool: add PHY Fast Link Down support net: phy: marvell: add PHY tunable fast link down support for 88E1540 drivers/net/phy/marvell.c | 108 +++++++++++++++++++++++++++++++++++ include/uapi/linux/ethtool.h | 4 ++ net/core/ethtool.c | 2 + 3 files changed, 114 insertions(+) -- 2.21.0