diff options
author | Arkadi Sharshevsky <arkadis@mellanox.com> | 2017-09-11 10:42:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-11 20:40:59 +0300 |
commit | 4400081b631af69abc63cea3352680e3d85e0c39 (patch) | |
tree | 3e412a8f1eead1ad0342e5529d8e9f79793372d5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1f4f554a72be0d8c164c2f5bc6ba939a1c624fb4 (diff) | |
download | linux-4400081b631af69abc63cea3352680e3d85e0c39.tar.xz |
mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+
The current code does not handle correctly the access to the upper page
in case of SFP/SFP+ EEPROM. In that case the offset should be local
and the I2C address should be changed.
Fixes: 2ea109039cd3 ("mlxsw: spectrum: Add support for access cable info via ethtool")
Reported-by: Florian Klink <flokli@flokli.de>
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions