Intel PCI Switch User Manual


 
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
DSS NETWORKS, INC. Version: 2.6 Page: 39
10.3.4 MAC STATISTICS SHOW FUNCTION
vxWorks usage:
inShowMacStats(unit) # unit = device index starting from 0
Linux usage:
./dmUtil –ms eth1 # eth1, eth2, etc.
Command output:
in: unit: 0, ioAddr: 40020000, mac regs:
CRCERRS: (0x4000): 0
ALGNERRC: (0x4004): 0
SYMERRS: (0x4008): 0
RXERRC: (0x400c): 0
MPC: (0x4010): 0
SCC: (0x4014): 0
ECOL: (0x4018): 0
MCC: (0x401c): 0
LATCOL: (0x4020): 0
COLC: (0x4028): 0
DC: (0x4030): 0
TNCRS: (0x4034): 0
SEC: (0x4038): 0
CEXTERR: (0x403c): 0
RLEC: (0x4040): 0
XON-R: (0x4048): 0
XON-T: (0x404c): 0
XOFF-R: (0x4050): 0
XOFF-T: (0x4054): 0
FC-UNSUPP: (0x4058): 0
PKT-64: (0x405c): 0
PKT-127: (0x4060): 0
PKT-255: (0x4064): 0
PKT-511: (0x4068): 0
PKT-1023: (0x406c): 0
PKT-MAX: (0x4070): 79354270
GPRC: (0x4074): 79354270
BPRC: (0x4078): 0
MPRC: (0x407c): 0
GPTC: (0x4080): 79354270
OCTETS-R: (0x4088): 3384705088
NODEF: (0x408c): 27
OCTETS-T: (0x4090): 3384705088
NODEF: (0x4094): 27
NODEF: (0x40a0): 0
NODEF: (0x40a4): 0
NODEF: (0x40a8): 0
NODEF: (0x40ac): 0
NODEF: (0x40b0): 0
NODEF: (0x40b4): 0
NODEF: (0x40b8): 0
NODEF: (0x40bc): 0
NODEF: (0x40c0): 3384703584