KSZ8842-16MBL-EVAL MICREL [Micrel Semiconductor], KSZ8842-16MBL-EVAL Datasheet - Page 116

no-image

KSZ8842-16MBL-EVAL

Manufacturer Part Number
KSZ8842-16MBL-EVAL
Description
2-Port Ethernet Switch with Non-PCI Interface
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet
MIB (Management Information Base) Counters
The KSZ8842M provides 34 MIB counters for each port. These counters are used to monitor the port activity for network
management. The MIB counters are formatted “per port” as shown in Table 14 and “all ports dropped packet” as shown in
Table 16.
“Per Port” MIB counters are read using indirect memory access. The base address offsets and address ranges for both
Ethernet ports are:
Per port MIB counters are read using indirect access control register in IACR, Bank 42 (0x00) and indirect access data
registers in IADR4[15:0], IADR5[31:16]. Table 15 shows the port 1 MIB counters address memory offset.
Micrel, Inc.
Offset
0x0
0x1
0x2
0x3
0x4
0x5
0x6
0x7
0x8
0x9
0xA
0xB
0xC
0xD
0xE
0xF
0x10
0x11
0x12
October 2007
Port 1, base address is 0x00 and range is from 0x00 to 0x1f.
Port 2, base address is 0x20 and range is from 0x20 to 0x3f.
Bit
31
30
29-0
Counter Name
RxLoPriorityByte
RxHiPriorityByte
RxUndersizePkt
RxFragments
RxOversize
RxJabbers
RxSymbolError
RxCRCError
RxAlignmentError
RxControl8808Pkts
RxPausePkts
RxBroadcast
RxMulticast
RxUnicast
Rx64Octets
Rx65to127Octets
Rx128to255Octets
Rx256to511Octets
Rx512to1023Octets
Name
Overflow
Count valid
Counter values
Table 14. Format of Per Port MIB Counters
R/W
RO
RO
RO
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
Description
1: counter overflow.
0: no counter overflow.
1: counter value is valid.
0: counter value is not valid.
Counter value (read clear)
116
KSZ8842-16/32 MQL/MVL/MVLI/MBL
Default
0
0
0x00000000
M9999-102207-1.9

Related parts for KSZ8842-16MBL-EVAL