-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PCIe Monitor service #634
PCIe Monitor service #634
Conversation
whenever the pcie device status gets checked.
pcie-check.service will be started by systemd during boot up and it will spawn a thread to check PCIe device status and perform the rescan pci devices if there is any missing devices after rc.local.service is completed and it will update the state db with pcie device satus after the `pcieutil pcie-chek` call so that the dependent services/container or kernel driver can be started or stopped based on the status. | ||
|
||
Detailed flow as showed in below chart: | ||
![](https://github.com/Azure/SONiC/blob/master/images/pcie-check.svg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable to view this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/Azure/SONiC/blob/70a152f1b98e145c9f0771e7cda7a951d98a978e/images/pcie-check.svg --- This link needs to be updated
pcied will be started by PMON container will continue monitoring the PCIe device status during run time and it will check the PCIe device status periodically every 1 minute and update the state db when the status is checked. | ||
|
||
Detailed flow as showed in below chart: | ||
![](https://github.com/Azure/SONiC/blob/master/images/pcied.svg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unable to view this file..
* PCIe Monitor service * Update pcie monitoring service hld * Move the update_state db to pcieutil so that it can be updated whenever the pcie device status gets checked. * review comments * Update with rename and state db * review comments * update the image link * fix the retry number of pcie rescan. * review comment
PCIe Monitor Service which will monitor the PCIe device (and bus) status periodically.