sonic-buildimage/platform/mellanox/mlnx-platform-api
Stephen Sun 90ddad48d1 [mellanox ]improve the method the type of sfp module is detected (#3846)
Fix the issue when an SFP module is plugged into a QSFP port via an adapter.

- How I did it
Originally the type of an SFP module is determined according to the SKU dictionary. However, it's possible that as SFP module is plugged into a QSFP port via an adapter. In this case, the EEPROM content will be parsed in the wrong format.
To address that we fetch the identifier value of an xSFP module and then get the type by parsing it.
2019-12-07 11:28:49 -08:00
..
sonic_platform [mellanox ]improve the method the type of sfp module is detected (#3846) 2019-12-07 11:28:49 -08:00
setup.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00