Skip to content

Commit

Permalink
feat: Read PCIE AER counters class/net
Browse files Browse the repository at this point in the history
Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

Signed-off-by: Diego Asturias <[email protected]>
  • Loading branch information
dasturiasArista committed Dec 9, 2024
1 parent d030571 commit 3e3f0e9
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions testdata/fixtures.ttar
Original file line number Diff line number Diff line change
Expand Up @@ -5841,65 +5841,6 @@ Mode: 644
Path: fixtures/sys/class/net/eth0/device
SymlinkTo: ../../../devices/pci0000:00/0000:00:1f.6/
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: fixtures/sys/class/net/eth0/device/aer_dev_correctable
Lines: 9
RxErr 1
BadTLP 2
BadDLLP 3
Rollover 4
Timeout 5
NonFatalErr 6
CorrIntErr 7
HeaderOF 8
TOTAL_ERR_COR 9
Mode: 444
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: fixtures/sys/class/net/eth0/device/aer_dev_fatal
Lines: 19
Undefined 10
DLP 11
SDES 12
TLP 13
FCP 14
CmpltTO 15
CmpltAbrt 16
UnxCmplt 17
RxOF 18
MalfTLP 19
ECRC 20
UnsupReq 21
ACSViol 22
UncorrIntErr 23
BlockedTLP 24
AtomicOpBlocked 25
TLPBlockedErr 26
PoisonTLPBlocked 27
TOTAL_ERR_FATAL 28
Mode: 444
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: fixtures/sys/class/net/eth0/device/aer_dev_nonfatal
Lines: 19
Undefined 30
DLP 31
SDES 32
TLP 33
FCP 34
CmpltTO 35
CmpltAbrt 36
UnxCmplt 37
RxOF 38
MalfTLP 39
ECRC 40
UnsupReq 41
ACSViol 42
UncorrIntErr 43
BlockedTLP 44
AtomicOpBlocked 45
TLPBlockedErr 46
PoisonTLPBlocked 47
TOTAL_ERR_NONFATAL 48
Mode: 444
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: fixtures/sys/class/net/eth0/dormant
Lines: 1
1
Expand Down

0 comments on commit 3e3f0e9

Please sign in to comment.