English
Language : 

KSZ8893M Datasheet, PDF (96/116 Pages) Micrel Semiconductor – Integrated 3-Port 10/100 Managed Switch with PHYs
Micrel, Inc.
KSZ8893MQL/MBL
MIB (Management Information Base) Counters
The KSZ8893MQL/MBL provides 34 MIB counters per port. These counters are used to monitor the port activity
for network management. The MIB counters have two format groups: “Per Port” and “All Port Dropped Packet.”
Bit
31
30
29-0
Name
Overflow
Count valid
Counter values
R/W Description
RO
= 1, counter overflow
= 0, no counter overflow
RO
= 1, counter value is valid
= 0, counter value is not valid
RO Counter value
Default
0
0
0
Table 19. Format of “Per Port” MIB Counters
“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 the following table.
Offset
0x0
0x1
0x2
0x3
0x4
0x5
0x6
0x7
0x8
0x9
0xA
0xB
0xC
0xD
0xE
0xF
0x10
0x11
0x12
Counter Name
RxLoPriorityByte
RxHiPriorityByte
RxUndersizePkt
RxFragments
RxOversize
RxJabbers
RxSymbolError
RxCRCError
RxAlignmentError
RxControl8808Pkts
RxPausePkts
RxBroadcast
RxMulticast
RxUnicast
Rx64Octets
Rx65to127Octets
Rx128to255Octets
Rx256to511Octets
Rx512to1023Octets
Description
Rx lo-priority (default) octet count including bad packets
Rx hi-priority octet count including bad packets
Rx undersize packets w/ good CRC
Rx fragment packets w/ bad CRC, symbol errors or alignment errors
Rx oversize packets w/ good CRC (max: 1536 or 1522 bytes)
Rx packets longer than 1522 bytes w/ either CRC errors, alignment errors, or symbol
errors (depends on max packet size setting)
Rx packets w/ invalid data symbol and legal packet size.
Rx packets within (64,1522) bytes w/ an integral number of bytes and a bad CRC (upper
limit depends on max packet size setting)
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)
Number of MAC control frames received by a port with 88-08h in EtherType field
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
Rx good broadcast packets (not including error broadcast packets or valid multicast
packets)
Rx good multicast packets (not including MAC control frames, error multicast packets or
valid broadcast packets)
Rx good unicast packets
Total Rx packets (bad packets included) that were 64 octets in length
Total Rx packets (bad packets included) that are between 65 and 127 octets in length
Total Rx packets (bad packets included) that are between 128 and 255 octets in length
Total Rx packets (bad packets included) that are between 256 and 511 octets in length
Total Rx packets (bad packets included) that are between 512 and 1023 octets in length
February 2010
96
M9999-021110-1.6