Skip to content

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

Merged
lguohan merged 1 commit intosonic-net:masterfrom
keboliu:sfp-bug-fix
May 28, 2019
Merged

[Mellanox] bug fix to prevent reading unsupported slave address of SFP eeprom#84
lguohan merged 1 commit intosonic-net:masterfrom
keboliu:sfp-bug-fix

Conversation

@keboliu
Copy link
Copy Markdown
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 [email protected]

@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
dal00 pushed a commit to kamelnetworks/sonic-linux-kernel that referenced this pull request Jul 20, 2025
According to the dpu number to start corresponding database container instances.

Signed-off-by: Ze Gan <[email protected]>
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