-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable transceivers which reply with too many NACKs (#1441)
We track `NACKs` on a per-port basis. If we see too many (3), then we disable the port at the Hubris level. When disabled: - The port is powered off, reset is asserted, and lpmode is not asserted (to prevent leakage) - UDP messages to change power, reset, and lpmode are rejected with a new `HwError::DisabledBySp` error type - Ports are removed (and therefore skipped) in the thermal loop - The new `ExtendedStatus` request/response includes `ExtendedStatus::DISABLED_BY_SP` in the bitfield Ports must be explicitly re-enabled with `HostRequest::ClearDisableLatch`
- Loading branch information
Showing
5 changed files
with
290 additions
and
41 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.