PCIe Monitor service#634
Merged
sujinmkang merged 9 commits intosonic-net:masterfrom Jul 14, 2020
sujinmkang:pcie-mon
Merged
Conversation
whenever the pcie device status gets checked.
jleveque
suggested changes
Jun 19, 2020
jleveque
suggested changes
Jun 19, 2020
jleveque
suggested changes
Jun 23, 2020
| 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: | ||
|  |
Contributor
There was a problem hiding this comment.
Unable to view this file.
There was a problem hiding this comment.
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: | ||
|  |
Contributor
There was a problem hiding this comment.
unable to view this file..
jleveque
reviewed
Jul 13, 2020
jleveque
suggested changes
Jul 13, 2020
jleveque
approved these changes
Jul 13, 2020
kartik-arista
pushed a commit
to kartik-arista/SONiC
that referenced
this pull request
Jul 16, 2020
* 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
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PCIe Monitor Service which will monitor the PCIe device (and bus) status periodically.