diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-16 07:11:57 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-20 05:33:54 +0000 |
| commit | aec0f1b85b54d14819747ed3364f366d21e76d88 (patch) | |
| tree | 6154d5a82310de5358a804bc72d91d110af800a3 /lldb/source/Target/(public-mirror) | |
| parent | 8d83b10345da101e4a24a38c90d99a0df0f48b3b (diff) | |
The 82571 PBA_ECC register contains a 12-bit count of packet buffer ECC
detections. The shared code enables single-bit correction, but neither
FreeBSD nor the DPDK base driver consumes the counter.
Sample it with the ordinary statistics timer, accumulate the value under
dev.em.N.memory_errors.detected_packet_buffer, and clear the hardware
counter while preserving correction and reserved register state. Do not
enable its shared interrupt: the register does not distinguish corrected
from uncorrectable events and does not provide a safe fatal recovery
policy.
Validated on a dual port 82571EB. Both functions reported zero after a
clean boot, and a controlled link down/up cycle left the counter at zero
while the management link recovered at 1 Gb/s without issue.
MFC after: 2 weeks
Sponsored by: BBOX.io
Diffstat (limited to 'lldb/source/Target/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
