sonic-buildimage/platform/mellanox/mlnx-platform-api
Junchao-Mellanox 06b5ad02ac [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-30 09:04:26 -07:00
..
sonic_platform [Mellanox] Re-initialize SFP object when detecting a new SFP insertion (#5695) 2020-10-30 09:04:26 -07:00
tests [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
.gitignore [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
pytest.ini [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
setup.cfg [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
setup.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00