]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: add PHY Fast Link Down support
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 Mar 2019 18:34:58 +0000 (19:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2019 20:51:49 +0000 (13:51 -0700)
commit31172af0bec1aec0f7fe296eb2cb5e75b3a3e7b2
tree547d275b6edab2cc3e99b1d632da7cd05ab53461
parent0282e2b5d6334eecd2da4a8a988035cdce2ff885
ethtool: add PHY Fast Link Down support

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.

v2:
- add comment describing the constants

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ethtool.h
net/core/ethtool.c