]> 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)
commitc387e73c6c7947086ddcfd51bb2e096b12b0aab0
tree547d275b6edab2cc3e99b1d632da7cd05ab53461
parent64873214491bb729a8b0c23a6d71bb1bbf79163f
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