-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[syncd.sh] Clear semaphore before updating firmware #15818
[syncd.sh] Clear semaphore before updating firmware #15818
Conversation
Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
@qiluo-msft could you please help to review and merge this PR and cherry-picks? |
Why I did it The hw resources should be released before updating firmware. How I did it Added logic to release hw resources in syncd.sh script Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Why I did it The hw resources should be released before updating firmware. How I did it Added logic to release hw resources in syncd.sh script Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Cherry-pick PR to 202211: #16066 |
Cherry-pick PR to 202305: #16067 |
Why I did it The hw resources should be released before updating firmware. How I did it Added logic to release hw resources in syncd.sh script Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Cherry-pick PR to 202205: #16068 |
@vadymhlushko-mlnx cherry pick PR didn't pass PR checker. Please check!!! |
2 similar comments
@vadymhlushko-mlnx cherry pick PR didn't pass PR checker. Please check!!! |
@vadymhlushko-mlnx cherry pick PR didn't pass PR checker. Please check!!! |
Sorry. automation issue. |
Why I did it The hw resources should be released before updating firmware. How I did it Added logic to release hw resources in syncd.sh script Signed-off-by: Vadym Hlushko <vadymh@nvidia.com> Co-authored-by: Vadym Hlushko <62022266+vadymhlushko-mlnx@users.noreply.github.com>
Why I did it The hw resources should be released before updating firmware. How I did it Added logic to release hw resources in syncd.sh script Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Why I did it
The hw resources should be released before updating firmware.
How I did it
Added logic to release hw resources in
syncd.sh
scriptHow to verify it
Scenario:
mlxfwmanager
process in the infinite loop and run it in the background.mlnfwmanager
utility a few times.mlxfwmanager
and make sure that the semaphore is taken.config reload -y
command and make sure that all the dockers are in up state.Which release branch to backport (provide reason below if selected)
Description for the changelog
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)