Skip to content

[action] [PR:613] [xcvrd] do not wait state change while calling cmis.set_lpmode#15

Merged
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/613
May 21, 2025
Merged

[action] [PR:613] [xcvrd] do not wait state change while calling cmis.set_lpmode#15
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/613

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Depends on sonic-net/sonic-platform-common#564

Description

Ignore time wait in cmis.set_lpmode

Motivation and Context

In CmisManagerTask, it calls cmis.set_lpmode for each logical port. The time wait causes a wait_time * num_of_logical_port delay in link up time. The PR is to optimize it.

How Has This Been Tested?

Manual test
unit test

Additional Information (Optional)

Depends on sonic-net/sonic-platform-common#564
<!-- Provide a general summary of your changes in the Title above -->

#### Description
Ignore time wait in `cmis.set_lpmode`

#### Motivation and Context
In `CmisManagerTask`, it calls `cmis.set_lpmode` for each logical port. The time wait causes a `wait_time * num_of_logical_port` delay in link up time. The PR is to optimize it.

#### How Has This Been Tested?
Manual test
unit test

#### Additional Information (Optional)
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: sonic-net/sonic-platform-daemons#613

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@mssonicbld mssonicbld merged commit 72c1f36 into Azure:202412 May 21, 2025
3 checks passed
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