Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] bug fix to prevent reading unsupported slave address of SFP eeprom #84

Merged
merged 1 commit into from
May 28, 2019

Conversation

keboliu
Copy link
Collaborator

@keboliu keboliu commented May 27, 2019

A bug fix to Mellanox drivers:

Prevent reading unsupported slave address from SFP EEPROM
by testing Diagnostic Monitoring Type byte in EEPROM.

If some SFP transceiver doesn't support Digital Optical Monitoring (DOM),
thus reading SFP EEPROM slave address 0x51 could return an error.
Add code to detect the availability of DOM support,
it is verified by reading from zero page Diagnostic Monitoring Type byte
describing how diagnostic monitoring is implemented by the transceiver.

Signed-off-by: Kebo Liu kebol@mellanox.com

@lguohan lguohan merged commit 6fc9850 into sonic-net:master May 28, 2019
@keboliu keboliu deleted the sfp-bug-fix branch October 28, 2023 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants