Skip to content

DellEMC: Z9332f change SFP detection logic#6261

Merged
jleveque merged 2 commits intosonic-net:masterfrom
aravindmani-1:Change_sfp_detection_logic
Jan 6, 2021
Merged

DellEMC: Z9332f change SFP detection logic#6261
jleveque merged 2 commits intosonic-net:masterfrom
aravindmani-1:Change_sfp_detection_logic

Conversation

@aravindmani-1
Copy link
Contributor

- Why I did it

  • Dynamically change EEPROM driver based on media type.
  • Otherwise, EEPROM INFO and DOM INFO might not be fetched properly and will result in erroneous output.

- How I did it
Changed the optoe driver by reading optic EEPROM byte
- How to verify it

  • Check driver type in optic driver path(/sys/class/i2c-adapter//name.
  • Take hexdump of optic EEPROM after OIR.
  • Check sfpshow eeprom -d

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

  • Change the SFP driver based on optic type.

UT:
z9332f_sfp_detection_logic_UT.txt

- A picture of a cute animal (not mandatory but encouraged)

@aravindmani-1 aravindmani-1 marked this pull request as ready for review December 28, 2020 03:42
@aravindmani-1
Copy link
Contributor Author

retest vsimage please

3 similar comments
@aravindmani-1
Copy link
Contributor Author

retest vsimage please

@aravindmani-1
Copy link
Contributor Author

aravindmani-1 commented Dec 31, 2020

retest vsimage please

@aravindmani-1
Copy link
Contributor Author

retest vsimage please

@aravindmani-1
Copy link
Contributor Author

Team,

Can you review this PR?.

@aravindmani-1
Copy link
Contributor Author

@jleveque Can you please help to review/merge this PR?.

@jleveque jleveque merged commit 4632e0b into sonic-net:master Jan 6, 2021
@aravindmani-1 aravindmani-1 deleted the Change_sfp_detection_logic branch January 7, 2021 04:27
lguohan pushed a commit that referenced this pull request Jan 9, 2021
- Dynamically change EEPROM driver based on media type.
- Otherwise, EEPROM INFO and DOM INFO might not be fetched properly and will result in erroneous output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants