aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-03-29 20:17:06 +0100
committerJohn W. Linville <linville@tuxdriver.com>2019-04-09 14:39:04 -0400
commitb8b93adef91ac6943d475e5226a8fdf5ea622461 (patch)
treea7f20a74c24a512d90fecfe6e55fd14ea70fc393
parent27c7bb171448c458d27249a6eb41e98eece50c66 (diff)
downloadethtool-b8b93adef91ac6943d475e5226a8fdf5ea622461.tar.gz
ethtool: add PHY Fast Link Down tunable to man page
Add description of new PHY tunable Fast Link Down to ethtool man page. v2: - improve wording Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--ethtool.8.in28
1 files changed, 26 insertions, 2 deletions
diff --git a/ethtool.8.in b/ethtool.8.in
index b878521..868af35 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -355,10 +355,16 @@ ethtool \- query or control network driver and hardware settings
.A1 on off
.BN count
.RB ]
+.RB [
+.B fast\-link\-down
+.A1 on off
+.BN msecs
+.RB ]
.HP
.B ethtool \-\-get\-phy\-tunable
.I devname
.RB [ downshift ]
+.RB [ fast-link-down ]
.HP
.B ethtool \-\-reset
.I devname
@@ -1069,12 +1075,22 @@ Sets the PHY tunable parameters.
.RS 4
.TP
.A2 downshift on off
-Specifies whether downshift should be enabled
+Specifies whether downshift should be enabled.
.TS
nokeep;
lB l.
.BI count \ N
-Sets the PHY downshift re-tries count.
+ Sets the PHY downshift re-tries count.
+.TE
+.TP
+.A2 fast-link-down on off
+Specifies whether Fast Link Down should be enabled and time until link down (if supported).
+.TS
+nokeep;
+lB l.
+.BI msecs \ N
+ Sets the period after which the link is reported as down. Note that the PHY may choose
+ the closest supported value. Only on reading back the tunable do you get the actual value.
.TE
.PD
.RE
@@ -1090,6 +1106,14 @@ Link speed downshift after N failed 1000BASE-T auto-negotiation attempts.
Downshift is useful where cable does not have the 4 pairs instance.
Gets the PHY downshift count/status.
+.TP
+.B fast\-link\-down
+Depending on the mode it may take 0.5s - 1s until a broken link is reported as down.
+In certain use cases a link-down event needs to be reported as soon as possible.
+Some PHYs support a Fast Link Down Feature and may allow configuration of the delay
+before a broken link is reported as being down.
+
+Gets the PHY Fast Link Down status / period.
.RE
.TP
.B \-\-reset