forked from sonic-otn/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] fix code for warm reboot to work with FW controlled ports (s…
…onic-net#18065) - Why I did it Fix the code to work also after warm reboot to work with FW controlled ports. In warm reboot the control state sysfs of each port does not change unlike reboot or fast boot. - How I did it 1. Check procfs cmdline if warm reboot done this is due to the fact pmon don't recognize warm reboot when it's taking place since pmon is loaded after warm reboot is finished. 2. If warm reboot done, check in static detection part for each port if it's FW controlled. If so, leave it this way and stop the state machine flow (set it to final state). - How to verify it 1. Boot a switch with CMIS host management with at least one FW controlled port (non active cables or non cmis cables) then run warm reboot. 2. Verify no errors of sysfs reading appears for control sysfs
- Loading branch information
1 parent
2d72b0c
commit abadc8d
Showing
1 changed file
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters