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

Smart Switch reboot high level design #1699

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

Conversation

vvolam
Copy link

@vvolam vvolam commented May 16, 2024

This PR is for smart switch reboot high-level design

Repo Pull Request Status
sonic-gnmi sonic-net/sonic-gnmi#286 Open
sonic-host-services sonic-net/sonic-host-services#164 Open
sonic-platform-common sonic-net/sonic-platform-common#501 Merged

@vvolam vvolam marked this pull request as ready for review May 16, 2024 23:15
@isabelmsft isabelmsft self-requested a review May 20, 2024 23:31
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
doc/smart-switch/reboot/reboot-hld.md Outdated Show resolved Hide resolved
ganglyu
ganglyu previously approved these changes Jun 17, 2024
isabelmsft
isabelmsft previously approved these changes Jun 18, 2024
@vvolam vvolam dismissed stale reviews from isabelmsft and ganglyu via 1934915 June 26, 2024 19:00
Copy link
Contributor

@oleksandrivantsiv oleksandrivantsiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As commented

@vvolam vvolam force-pushed the reboot-hld branch 2 times, most recently from 1c9a020 to 7d67e25 Compare July 30, 2024 01:16

DPUs are internally connected to the NPU via PCI-E bridge. Below is the reboot sequence for rebooting a specific DPU:

* Upon receiving a reboot CLI command to restart a particular DPU, the NPU transmits a gNOI Reboot API signal with reboot method set to ‘HALT’, instructing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you specify which reboot CLI thing refers to?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is regular linux "reboot" command.

@KrisNey-MSFT
Copy link

Discussed in DASH Community call 9/18/2024
If the DPU is unresponsive and we are trying to recover it, is there a way to hard power cycle a DPU w/o having to power cycle the switch?
Via PCIE express lanes, CPLD, or other?
Force-shut or force-reboot the card (w/o forcing the entire switch), and will it be standardized or supplier-specific?
@prgeor

@prgeor
Copy link
Contributor

prgeor commented Sep 18, 2024

@vvolam

Discussed in DASH Community call 9/18/2024 If the DPU is unresponsive and we are trying to recover it, is there a way to hard power cycle a DPU w/o having to power cycle the switch? Via PCIE express lanes, CPLD, or other? Force-shut or force-reboot the card (w/o forcing the entire switch), and will it be standardized or supplier-specific? @prgeor

@vvolam FYI

@prgeor
Copy link
Contributor

prgeor commented Sep 18, 2024

@vvolam please add all the code PRs to this HLD PR description

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.

7 participants