Datasheet

2017 Microchip Technology Inc. DS00002348A-page 71
KSZ8873MLL/FLL/RLL
Read reg. 124 (0x7C), dynamic table bits [63:56]
Read reg. 125 (0x7D), dynamic table bits [55:48]
Read reg. 126 (0x7E), dynamic table bits [47:40]
Read reg. 127 (0x7F), dynamic table bits [39:32]
Read reg. 128 (0x80), dynamic table bits [31:24]
Read reg. 129 (0x81), dynamic table bits [23:16]
Read reg. 130 (0x82), dynamic table bits [15:8]
Read reg. 131 (0x83), dynamic table bits [7:0]
4.9 Management Information Base (MIB) Counters
The KSZ8873 provides 34 MIB counters per port. These counters are used to monitor the port activity for network man-
agement. The MIB counters have two format groups: “Per Port” and “All Port Dropped Packet.”
“Per Port” MIB counters are read using indirect memory access. The base address offsets and address ranges for all
three ports are:
Port 1, base is 0x00 and range is (0x00-0x1f)
Port 2, base is 0x20 and range is (0x20-0x3f)
Port 3, base is 0x40 and range is (0x40-0x5f)
Port 1 MIB counters are read using the indirect memory offsets in Ta bl e 4 - 1 4.
TABLE 4-13: FORMAT OF “PER PORT” MIB COUNTERS
Bit Name R/W Description Default
31 Overflow RO
1 = counter overflow
0 = no counter overflow
0
30 Count Valid RO
1 = counter value is valid
0 = counter value is not valid
0
29-0 Counter Values RO Counter value 0
TABLE 4-14: PORT 1’S “PER PORT” MIB COUNTERS INDIRECT MEMORY OFFSETS
Offset Counter Name Description
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 1522 bytes w/ either CRC errors, alignment
errors, or symbol errors (depends on max packet size setting)
0x6 RxSymbolError Rx packets w/ invalid data symbol and legal packet size.
0x7 RxCRCError
Rx packets within (64,1522) bytes w/ an integral number of bytes and a
bad CRC (upper limit depends 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
Number of MAC control frames received by a port with 88-08h in Ether-
Type field
0xA RxPausePkts
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 error broadcast packets or
valid multicast packets)