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

Create is_transceiver_vdm_supported API for CMIS transceivers #527

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mihirpat1
Copy link
Contributor

@mihirpat1 mihirpat1 commented Jan 3, 2025

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

Signed-off-by: Mihir Patel <patelmi@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mihirpat1 mihirpat1 requested a review from prgeor January 3, 2025 19:56
@mihirpat1 mihirpat1 added the CMIS label Jan 3, 2025
@mihirpat1 mihirpat1 marked this pull request as ready for review January 3, 2025 19:56
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants