fix(pcie): verify GPU links under real bandwidth load

This commit is contained in:
Mikhail Chusavitin
2026-09-03 10:23:39 +03:00
parent 642e68631d
commit 347bc8310a
27 changed files with 384 additions and 902 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ func normalizePCILinkSpeed(raw string) string {
// NormalizePCILinkSpeed maps a raw sysfs current_link_speed/max_link_speed
// string (e.g. "16.0 GT/s PCIe") to a "GenN" label. Exported for reuse by
// the platform package's PCIe link-retrain SAT, which needs the same
// the platform package's NVIDIA link-under-load check, which needs the same
// mapping outside the idle collector path.
func NormalizePCILinkSpeed(raw string) string {
raw = strings.TrimSpace(strings.ToLower(raw))