-
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
Add 'device', 'no-zero' options for pcie-aer sub commands #720
Add 'device', 'no-zero' options for pcie-aer sub commands #720
Conversation
ArunSaravananBalachandran
commented
Dec 7, 2020
- Add 'device', 'no-zero' options for pcie-aer sub commands
- Change key format for PCIe device in STATE DB
@ArunSaravananBalachandran can we have an example of non-zero option case? can we have non-zero information display as default and display all device-id information with "-verbose" option? |
@sujinmkang, please find below the sample output with and without using non-zero option
Sure, we can have non-zero output as default |
@sujinmkang, please find below the updated behavior based on the comments provided and request your review on the same:
|
In pcied, added support to collect AER stats belonging to different severities for AER supported PCIe devices and update it in STATE_DB. The key used to represent a PCIE device for storing its AER stats in STATE_DB is of the format PCIE_DEVICE|<Bus>:<Dev>.<Fn>. For every device, AER stats will be stored as key, value pairs where key is of the format <severity>|<AER Error type> and the device ID will be stored with key id. HLD: sonic-net/SONiC#678, sonic-net/SONiC#720 Depends on: sonic-net/sonic-platform-common#144