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

[action] [PR:17096] [Mellanox] Revert LPM implementation to the old way #17366

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

mssonicbld
Copy link
Collaborator

Why I did it

The current low power mode setting implementation requests the user to set the port to admin down first before toggling LP mode, this is not backward compatible, now revert it to the old way so that the user can toggle the LP mode regardless of the port admin status.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Revert the recent changes related to LPM in PR #14130 and #16545

How to verify it

run all sfputil and SFP platform API related tests on all the Mellanox platforms.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

  • Verified on top of 202305 branch commit 733a902

Description for the changelog

Link to config_db schema for YANG module changes

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

- Why I did it
The current low power mode setting implementation requests the user to set the port to admin down first before toggling LP mode, this is not backward compatible, now revert it to the old way so that the user can toggle the LP mode regardless of the port admin status.

- How I did it
Revert the recent changes related to LPM in PR sonic-net#14130 and sonic-net#16545

- How to verify it
Run all sfputil and SFP platform API related tests on all the Mellanox platforms.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
@mssonicbld
Copy link
Collaborator Author

Original PR: #17096

@mssonicbld mssonicbld merged commit 53bcdcd into sonic-net:202305 Nov 30, 2023
11 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.

2 participants