Jumbo in the size mix (MTU 9000 + module jumbo pinned), check-first module config trusting GET reads, cable diag async at startup through the reset path, MODULES table dissolved into SETTINGS/LINKS, per-driver NIC counter sets, comment cleanup

This commit is contained in:
flamingcow
2026-08-13 08:04:26 -07:00
parent 979dc7a772
commit bba1fa5e02
12 changed files with 201 additions and 135 deletions
-5
View File
@@ -358,7 +358,6 @@ func (d *display) errChips(x, w, y int, e errs, recentCorrected, noiseMissing ui
cx, cw, cy := d.chipAt(i, n, gridCols, x, w, y, d.chipH(), c)
d.centerIn(d.grid, cx, cw, cy+chipPadY, r.label, c)
}
// Amber rather than red: the phy absorbed these before they cost a frame.
c := uiGreen
if recentCorrected > 0 {
c = uiAmber
@@ -382,8 +381,6 @@ func (d *display) errCounts(x, w, y int, e errs) int {
return y + d.countsH()
}
// White when the wiring is clean: a measurement rather than a judgment. The
// colours are reserved for the diag finding a fault or a swapped pair.
func metresStat(phy phyDisplay) statCell {
col := uiFg
if phy.metresClass != clsGood {
@@ -420,8 +417,6 @@ func snrStat(phy phyDisplay) statCell {
classColor(snrClass(phy.worstMargin))}
}
// Errors the phy absorbed before they could cost a frame: amber rather than
// red, the cable being stressed rather than failing.
func correctedStat(v uint64) statCell {
col := uiGreen
if v > 0 {