This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform/mellanox/mlnx-platform-api
Junchao-Mellanox 15c59e1d8c
[Mellanox] Re-initialize SFP object when detecting a new SFP insertion (#5695)
When detecting a new SFP insertion, read its SFP type and DOM capability from EEPROM again.

SFP object will be initialized to a certain type even if no SFP present. A case could be:

1. A SFP object is initialized to QSFP type by default when there is no SFP present
2. User insert a SFP with an adapter to this QSFP port
3. The SFP object fail to read EEPROM because it still treats itself as QSFP.

This PR fixes this issue.
2020-10-23 12:36:11 -07:00
..
sonic_platform [Mellanox] Re-initialize SFP object when detecting a new SFP insertion (#5695) 2020-10-23 12:36:11 -07:00
tests [Mellanox] Enhancement for fan led management (#4437) 2020-05-13 10:01:32 -07:00
.gitignore Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
pytest.ini Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
setup.cfg Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
setup.py Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00