diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-06-10 11:48:08 +0300 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-16 23:43:13 +0100 |
commit | a9fc82761fe39a6b0593351d912d6796515fc065 (patch) | |
tree | fd6aa1956b6a00566cc3b7b9ffbc3ea306f7533a /ethtool.8.in | |
parent | 7a9bac28a46495c88c9008d8d4c5dda7d8b4a84f (diff) | |
download | ethtool-a9fc82761fe39a6b0593351d912d6796515fc065.tar.gz |
Ethtool: Add EEE support
This patch adds 2 new ethtool commands which can be
used to manipulate network interfaces' support in
EEE.
Output of 'get' has the following form:
EEE Settings for p2p1:
EEE status: enabled - active
Tx LPI: 1000 (us)
Supported EEE link modes: 10000baseT/Full
Advertised EEE link modes: 10000baseT/Full
Link partner advertised EEE link modes: 10000baseT/Full
Thanks goes to Giuseppe Cavallaro for his original patch.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool.8.in')
-rw-r--r-- | ethtool.8.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ethtool.8.in b/ethtool.8.in index cf2a09c..ff3255b 100644 --- a/ethtool.8.in +++ b/ethtool.8.in @@ -325,6 +325,16 @@ ethtool \- query or control network driver and hardware settings .I devname flag .A1 on off .RB ... +.HP +.B ethtool \-\-show\-eee +.I devname +.HP +.B ethtool \-\-set\-eee +.I devname +.B2 eee on off +.B2 tx-lpi on off +.BN tx-timer +.BN advertise . .\" Adjust lines (i.e. full justification) and hyphenate. .ad @@ -810,6 +820,28 @@ Sets the device's private flags as specified. .I flag .A1 on off Sets the state of the named private flag. +.TP +.B \-\-show\-eee +Queries the specified network device for its support of Efficient Energy +Ethernet (according to the IEEE 802.3az specifications) +.TP +.B \-\-set\-eee +Sets the device EEE behaviour. +.TP +.A2 eee on off +Enables/disables the device support of EEE. +.TP +.A2 tx-lpi on off +Determines whether the device should assert its Tx LPI. +.TP +.BI advertise \ N +Sets the speeds for which the device should advertise EEE capabiliities. +Values are as for +.B \-\-change advertise +.TP +.BI tx-timer \ N +Sets the amount of time the device should stay in idle mode prior to asserting +its Tx LPI (in microseconds). This has meaning only when Tx LPI is enabled. .SH BUGS Not supported (in part or whole) on all network drivers. .SH AUTHOR |