sonic-net / sonic-platform-daemons

Platform module daemons for SONiC
Other
23 stars 152 forks source link

Enhance PCIe device check to skip the warning log, if device is in detaching mode #546

Open vvolam opened 2 weeks ago

vvolam commented 2 weeks ago

Description

Add a new function "is_device_in_detaching_mode" to query state_db for devices in detaching mode. Enhance "check_pcie_devices" to invoke this function to skip the warning log, if device is in detaching mode.

Motivation and Context

Changes are being done based on the reboot HLD

How Has This Been Tested?

Pending

Additional Information (Optional)