Skip to content

Commit 3e3f0e9

Browse files
feat: Read PCIE AER counters class/net
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 <dasturias@arista.com>
1 parent d030571 commit 3e3f0e9

File tree

1 file changed

+0
-59
lines changed

1 file changed

+0
-59
lines changed

testdata/fixtures.ttar

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -5841,65 +5841,6 @@ Mode: 644
58415841
Path: fixtures/sys/class/net/eth0/device
58425842
SymlinkTo: ../../../devices/pci0000:00/0000:00:1f.6/
58435843
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5844-
Path: fixtures/sys/class/net/eth0/device/aer_dev_correctable
5845-
Lines: 9
5846-
RxErr 1
5847-
BadTLP 2
5848-
BadDLLP 3
5849-
Rollover 4
5850-
Timeout 5
5851-
NonFatalErr 6
5852-
CorrIntErr 7
5853-
HeaderOF 8
5854-
TOTAL_ERR_COR 9
5855-
Mode: 444
5856-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5857-
Path: fixtures/sys/class/net/eth0/device/aer_dev_fatal
5858-
Lines: 19
5859-
Undefined 10
5860-
DLP 11
5861-
SDES 12
5862-
TLP 13
5863-
FCP 14
5864-
CmpltTO 15
5865-
CmpltAbrt 16
5866-
UnxCmplt 17
5867-
RxOF 18
5868-
MalfTLP 19
5869-
ECRC 20
5870-
UnsupReq 21
5871-
ACSViol 22
5872-
UncorrIntErr 23
5873-
BlockedTLP 24
5874-
AtomicOpBlocked 25
5875-
TLPBlockedErr 26
5876-
PoisonTLPBlocked 27
5877-
TOTAL_ERR_FATAL 28
5878-
Mode: 444
5879-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5880-
Path: fixtures/sys/class/net/eth0/device/aer_dev_nonfatal
5881-
Lines: 19
5882-
Undefined 30
5883-
DLP 31
5884-
SDES 32
5885-
TLP 33
5886-
FCP 34
5887-
CmpltTO 35
5888-
CmpltAbrt 36
5889-
UnxCmplt 37
5890-
RxOF 38
5891-
MalfTLP 39
5892-
ECRC 40
5893-
UnsupReq 41
5894-
ACSViol 42
5895-
UncorrIntErr 43
5896-
BlockedTLP 44
5897-
AtomicOpBlocked 45
5898-
TLPBlockedErr 46
5899-
PoisonTLPBlocked 47
5900-
TOTAL_ERR_NONFATAL 48
5901-
Mode: 444
5902-
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
59035844
Path: fixtures/sys/class/net/eth0/dormant
59045845
Lines: 1
59055846
1

0 commit comments

Comments
 (0)