path: root/
diff options
authorSucheta Chakraborty <>2011-09-20 03:31:34 -0700
committerBen Hutchings <>2011-10-04 23:06:44 +0100
commitbeceb09e2292ab716ca08715ebe1adb2795d1099 (patch)
treefd4ef845165b3cdfeb946bb72ca17b4db601a0fb /
parent7a8c1d06bdad0d143207728a7a4183ed47df63b4 (diff)
ethtool: add support for external loopback.
External loopback will be performed in addition to other offline tests. User need to pass new parameter "external_lb" for the same. Reqd. man page changes included. Signed-off-by: Sucheta Chakraborty <> [bwh: Report whether the external loopback test 'was', not 'is' executed. For compatibility, don't report this if not requested.] Signed-off-by: Ben Hutchings <>
Diffstat (limited to '')
1 files changed, 11 insertions, 4 deletions
diff --git a/ b/
index 7a0bd43..efc6098 100644
--- a/
+++ b/
@@ -68,6 +68,10 @@
.ds HO \fBm\fP|\fBv\fP|\fBt\fP|\fBs\fP|\fBd\fP|\fBf\fP|\fBn\fP|\fBr\fP...
+.\" \(*SD - Self-diag test values
+.ds SD \fBoffline\fP|\fBonline\fP|\fBexternal_lb\fP
.\" \(*NC - Network Classifier type values
.ds NC \fBether\fP|\fBip4\fP|\fBtcp4\fP|\fBudp4\fP|\fBsctp4\fP|\fBah4\fP|\fBesp4\fP
@@ -227,7 +231,7 @@ ethtool \- query or control network driver and hardware settings
.B ethtool \-t|\-\-test
.I ethX
-.B1 offline online
+.RI [\*(SD]
.B ethtool \-s
.I ethX
@@ -457,12 +461,14 @@ statistics.
.B \-t \-\-test
Executes adapter selftest on the specified network device. Possible test modes are:
-.A1 offline online
+.RI \*(SD
defines test type:
.B offline
(default) means to perform full set of tests possibly causing normal operation interruption during the tests,
.B online
-means to perform limited set of tests do not interrupting normal adapter operation.
+means to perform limited set of tests do not interrupting normal adapter operation,
+.B external_lb
+means to perform external-loopback test in addition to other offline tests.
.B \-s \-\-change
Allows changing some or all settings of the specified network device.
@@ -762,7 +768,8 @@ Andre Majorel,
Eli Kupermann,
Scott Feldman,
Andi Kleen,
-Alexander Duyck.
+Alexander Duyck,
+Sucheta Chakraborty.
.B ethtool
is available from