Skip to content

[action] [PR:527] Create is_transceiver_vdm_supported API for CMIS transceivers#537

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/527
Feb 1, 2025
Merged

[action] [PR:527] Create is_transceiver_vdm_supported API for CMIS transceivers#537
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/527

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description

is_transceiver_vdm_supported API needs to be created so that xcvrd can directly skip freezing/unfreezing of VDM stats (done to read VDM and PM data from the transceiver) for transceivers which do not support VDM feature.

Motivation and Context

XCVRD will call is_transceiver_vdm_supported API before performing freeze of VDM stats.

How Has This Been Tested?

Following types of modules were tested with this changeset

  1. CMIS module supporting VDM - ensured is_transceiver_vdm_supported returns True
  2. SFF-8472 module - ensured is_transceiver_vdm_supported returns False

Additional Information (Optional)

MSFT ADO - 30657693

<!-- Provide a general summary of your changes in the Title above -->

#### Description
<!--
     Describe your changes in detail
-->
is_transceiver_vdm_supported API needs to be created so that xcvrd can directly skip freezing/unfreezing of VDM stats (done to read VDM and PM data from the transceiver) for transceivers which do not support VDM feature.

#### Motivation and Context
<!--
     Why is this change required? What problem does it solve?
     If this pull request closes/resolves an open Issue, make sure you
     include the text "fixes #xxxx", "closes #xxxx" or "resolves #xxxx" here
-->
XCVRD will call `is_transceiver_vdm_supported` API before performing freeze of VDM stats.

#### How Has This Been Tested?
<!--
     Please describe in detail how you tested your changes.
     Include details of your testing environment, and the tests you ran to
     see how your change affects other areas of the code, etc.
-->
Following types of modules were tested with this changeset
1. CMIS module supporting VDM - ensured is_transceiver_vdm_supported returns True
2. SFF-8472 module - ensured is_transceiver_vdm_supported returns False

#### Additional Information (Optional)
MSFT ADO - 30657693
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #527

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 3276d57 into sonic-net:202411 Feb 1, 2025
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.

1 participant