diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-06-21 10:50:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-21 12:33:05 -0700 |
commit | 1e27b9e408039af6210708f76c6fe735c2c2c9c1 (patch) | |
tree | 7fca126adf0316b8f0768649d741d6c7980c707a /tools/perf/scripts/python/stackcollapse.py | |
parent | cecefb3a6eeb5d835abd051e67e27e1506289ccf (diff) |
mlxsw: core: Add support for module EEPROM read by page
Add support for ethtool_ops::get_module_eeprom_by_page() which allows
user space to read transceiver module EEPROM based on passed parameters.
The I2C address is not validated in order to avoid module-specific code.
In case of wrong address, error will be returned from device's firmware.
Tested by comparing output with legacy method (ioctl) output.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions