Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sonic-utilities/scripts] Fixing FP ports issue (sonic-net#268)
This commit fixes the Front Panel Ports not coming up during cold reboot and traffic being sent at line rate. The root cause was the PCIe bus error which was caused because of the host side not doing a gracefull shutdown calling bcm_shutdown and soc_shutdown. The fix will call the gracefull shutdown of syncd during reboot which in turns calls the bcm_shutdown and soc_shutdown. Additionally added the check to make sure the script will run only when it has root privileges otherwise it will quit. Verified the fix by running traffic at line rate 40G from Ixia and rebooted using script multiple times and traffic was successfully forwarded after every reboot. Signed-off-by: Harish Venkatraman <[email protected]>
- Loading branch information