Skip to content
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

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

vvolam
Copy link

@vvolam vvolam commented Oct 5, 2024

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)

@vvolam vvolam changed the title Enhance PCIe device check to skip the warning log, if device is in detaching mode [SmartSwitch] Enhance PCIe device check to skip the warning log, if device is in detaching mode Nov 11, 2024
@vvolam vvolam marked this pull request as ready for review November 13, 2024 03:24
sonic-pcied/scripts/pcied Outdated Show resolved Hide resolved
@vvolam
Copy link
Author

vvolam commented Nov 18, 2024

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vvolam vvolam requested a review from prgeor November 19, 2024 00:12
@vvolam
Copy link
Author

vvolam commented Dec 12, 2024

@prgeor please help review and merge, if no other changes needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants