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

Skip CDB and VDM for flat memory modules #281

Merged
merged 5 commits into from
Jun 13, 2022
Merged

Conversation

prgeor
Copy link
Collaborator

@prgeor prgeor commented May 4, 2022

Description

Skip VDM and CDB support for flat memory modules like DAC

Motivation and Context

CDB or VDM support fields in Page01H does
not exist on flat memory module, so we should avoid reading this page for such modules to prevent read error/crash

How Has This Been Tested?

Verify Xcvrd does not crash due to presence of DAC cable

Additional Information (Optional)

@prgeor
Copy link
Collaborator Author

prgeor commented May 4, 2022

@qinchuanares @aravindmani-1 can you review?

qinchuanares
qinchuanares previously approved these changes May 9, 2022
@aravindmani-1
Copy link
Contributor

aravindmani-1 commented May 25, 2022

@prgeor Could you please check build failures?.

@prgeor prgeor merged commit 0d45adb into sonic-net:master Jun 13, 2022
itamar-talmon pushed a commit to itamar-talmon/sonic-platform-common that referenced this pull request Jan 12, 2023
* Skip CDB and VDM for flat memory modules

* Improve code coverage

* Fix test failure

* Fix test failure

* Fix test failure
@prgeor
Copy link
Collaborator Author

prgeor commented Jun 5, 2023

@yxieca please help cherry pick.

yxieca pushed a commit that referenced this pull request Jun 7, 2023
* Skip CDB and VDM for flat memory modules

* Improve code coverage

* Fix test failure

* Fix test failure

* Fix test failure
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.

5 participants