Datasheet
KSZ8895MQX/RQX/FQX/MLX
DS00002246A-page 80 2016 Microchip Technology Inc.
Read Register 119 (15-8)
Read Register 120 (7-0)
4.7 Management Information Base (MIB) Counters
The MIB counters are provided on per port basis. These counters are read using indirect memory access as noted in
the following table:
TABLE 4-11: MIB COUNTERS
Offset Counter Name Description
For Port 1
0x0 RxLoPriorityByte Rx lo-priority (default) octet count including bad packets.
0x1 RxHiPriorityByte Rx hi-priority octet count including bad packets.
0x2 RxUndersizePkt Rx undersize packets w/good CRC.
0x3 RxFragments Rx fragment packets w/bad CRC, symbol errors or alignment errors.
0x4 RxOversize Rx oversize packets w/good CRC (max: 1536 or 1522 bytes).
0x5 RxJabbers
Rx packets longer than 1522B w/either CRC errors, alignment errors, or sym-
bol errors (depends on max packet size setting) or Rx packets longer than
1916B only.
0x6 RxSymbolError Rx packets w/ invalid data symbol and legal preamble, packet size.
0x7 RxCRCerror
Rx packets within (64, 1522) bytes w/an integral number of bytes and a bad
CRC (upper limit depends up on max packet size setting).
0x8 RxAlignmentError
Rx packets within (64, 1522) bytes w/a non-integral number of bytes and a bad
CRC (upper limit depends on max packet size setting).
0x9 RxControl8808Pkts
The number of MAC control frames received by a port with 88-08h in Ether
Type field.
0xA RxPausePkts
The number of PAUSE frames received by a port. PAUSE frame is qualified
with EtherType (88-08h), DA, control opcode (00-01), data length (64B min),
and a valid CRC.
0xB RxBroadcast
Rx good broadcast packets (not including errored broadcast packets or valid
multicast packets).
0xC RxMulticast
Rx good multicast packets (not including MAC control frames, errored multi-
cast packets or valid broadcast packets).
0xD RxUnicast Rx good unicast packets.
0xE Rx64Octets Total Rx packets (bad packets included) that were 64 octets in length.
0xF Rx65to127Octets
Total Rx packets (bad packets included) that are between 65 and 127 octets in
length.
0x10 Rx128to255Octets
Total Rx packets (bad packets included) that are between 128 and 255 octets
in length.
0x11 Rx256to511Octets
Total Rx packets (bad packets included) that are between 256 and 511 octets
in length.
0x12 Rx512to1023Octets
Total Rx packets (bad packets included) that are between 512 and 1023 octets
in length.
0x13 Rx1024to1522Octets
Total Rx packets (bad packets included) that are between 1024 and 1522
octets in length (upper limit depends on max packet size setting).
0x14 TxLoPriorityByte Tx lo-priority good octet count, including PAUSE packets.
0x15 TxHiPriorityByte Tx hi-priority good octet count, including PAUSE packets.
0x16 TxLateCollision
The number of times a collision is detected later than 512 bit-times into the Tx
of a packet.
0x17 TxPausePkts The number of PAUSE frames transmitted by a port.
0x18 TxBroadcastPkts
Tx good broadcast packets (not including errored broadcast or valid multicast
packets).