diff options
author | 2019-05-23 16:11:12 -0300 | |
---|---|---|
committer | 2019-06-26 09:18:54 -0700 | |
commit | 655c91414579d7bb115a4f7898ee726fc18e0984 (patch) | |
tree | 59ad5f89e67ef4a0bc118721a7e568232596413c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipv6: fix suspicious RCU usage in rt6_dump_route() (diff) | |
download | wireguard-linux-655c91414579d7bb115a4f7898ee726fc18e0984.tar.xz wireguard-linux-655c91414579d7bb115a4f7898ee726fc18e0984.zip |
ixgbe: Check DDM existence in transceiver before access
Some transceivers may comply with SFF-8472 but not implement the Digital
Diagnostic Monitoring (DDM) interface described in it. The existence of
such area is specified by bit 6 of byte 92, set to 1 if implemented.
Currently, due to not checking this bit ixgbe fails trying to read SFP
module's eeprom with the follow message:
ethtool -m enP51p1s0f0
Cannot get Module EEPROM data: Input/output error
Because it fails to read the additional 256 bytes in which it was assumed
to exist the DDM data.
This issue was noticed using a Mellanox Passive DAC PN 01FT738. The eeprom
data was confirmed by Mellanox as correct and present in other Passive
DACs in from other manufacturers.
Signed-off-by: "Mauro S. M. Rodrigues" <maurosr@linux.vnet.ibm.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions