diff options
author | Doron Shikmoni <[email protected]> | 2016-02-17 09:34:25 +0200 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-04-06 13:24:38 -0700 |
commit | efea95d45e6ab4a30df9801f8e9bf68007ee9b43 (patch) | |
tree | 99357549223b5d1110eaee988c9519d8c8ed6321 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 806ffb1d504927d1449397377eac63bb63489266 (diff) |
igb: Garbled output for "ethtool -m"
Garbled output for "ethtool -m ethX", in igb-driven NICs with module /
plugin EEPROM (i.e. SFP information). Each output data byte appears
duplicated.
In igb_ethtool.c, igb_get_module_eeprom() is reading the EEPROM via i2c;
the eeprom offset for each word that's read via igb_read_phy_reg_i2c()
was passed in #words, whereas it needs to be a byte offset.
This patches fixes the bug.
Signed-off-by: Doron Shikmoni <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions