path: root/
diff options
authorStuart Hodgson <>2012-05-18 15:58:45 +0100
committerBen Hutchings <>2012-05-23 00:59:51 +0100
commit2edf56749abe006f6a68c9c21a2a249d29345a01 (patch)
tree2cfa7c4ff2a4c3658251bc031ad72703f41cd81a /
parent0d53f25de6f4f4499da2736805b652c0f2b51f99 (diff)
ethtool: Addition of -m option to dump module eeprom
The -m option now allows for retrieval of EEPROM information form a plug in module such as SFP+. This shows specific information about the type and capabilities of the module in use The format can be easily extended to support other modules types such as QSFP in future. Raw data dump is also supported. Signed-off-by: Stuart Hodgson <> Signed-off-by: Ben Hutchings <>
Diffstat (limited to '')
1 files changed, 10 insertions, 0 deletions
diff --git a/ b/
index 5bf82dd..523b737 100644
--- a/
+++ b/
@@ -321,6 +321,13 @@ ethtool \- query or control network driver and hardware settings
.BN other
.BN combined
+.B ethtool \-m|\-\-dump\-module\-eeprom
+.I devname
+.B2 raw on off
+.B2 hex on off
+.BN offset
+.BN length
.B ethtool \-\-show\-priv\-flags
.I devname
@@ -796,6 +803,9 @@ Changes the number of channels used only for other purposes e.g. link interrupts
.BI combined \ N
Changes the number of multi-purpose channels.
+.B \-m \-\-dump\-module\-eeprom
+Retrieves and if possible decodes the EEPROM from plugin modules, e.g SFP+, QSFP
.B \-\-show\-priv\-flags
Queries the specified network device for its private flags. The
names and meanings of private flags (if any) are defined by each