-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[202205] [Mellanox] Revert LPM implementation to the old way #17179
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
Conversation
…e toggling LPM (sonic-net#14370)" This reverts commit f74c69e.
Signed-off-by: Kebo Liu <[email protected]>
@prgeor please help to review. |
@prgeor to check |
Hi @yxieca @prgeor this PR intends to backport #17096 to the 202205 branch, the original PR has been merged. The change to 202205 is not exactly the same because of the codebase difference on both branches. This change has also been verified on the 202205 branch, would you please help to review and merge? |
@prgeor please help check. |
@prgeor would you please help to review and approve? this is a backport PR. |
Why I did it
backport #17096 because of no clean cherry-pick
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
How I did it
Reverts commit f74c69e.
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)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)