diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-13 23:15:39 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-16 10:02:44 +0000 |
| commit | 17042fd31571c7ceb955570ef43c9921d4a80f21 (patch) | |
| tree | 43c2315e5f9c2f5675a108d5d608f9d0f38c6ff8 /include/lldb/Expression/REPL.h | |
| parent | 4c2dda4c70e210be4efb4527fc32fbb79f23d452 (diff) | |
82576 exposes clear-on-read corrected error counters for RX, TX,
switch, IPsec, descriptor-handler, PCIe retry, PCIe write, and
MSI-X memories. The packet and descriptor memories also count
uncorrectable errors.
Sample each status register exactly once from the regular hardware
statistics update and immediately before handling a memory-error
interrupt. Group the counters by packet buffer, descriptor handler,
and PCIe region. Skip the absent IPsec block on 82576NS.
PRBESTS and PMSIXESTS are shared by both LAN ports. Attribute an
indication to whichever attached port samples the clear-on-read
register first so it is not counted twice.
Hardware validation used an 82576EB revision 1. All nine implemented
status registers reported their ECC-enable bit set. The sysctl
counters remained clear across interface lifecycle, two-stream
line-rate traffic, and NFER and FER cause injections. Each reset
preserved the ECC enables while the driver restored PEINDM reactions.
ICR cause injection does not corrupt SRAM, and the only documented
data injector is specific to the IPsec packet buffer. Exact counter
increments for the other memories were therefore validated against
the register definitions rather than an injected ECC error.
MFC after: 2 weeks
Sponsored by: BBOX.io
Diffstat (limited to 'include/lldb/Expression/REPL.h')
0 files changed, 0 insertions, 0 deletions
