English
Language : 

LAN9313 Datasheet, PDF (63/398 Pages) SMSC Corporation – Three Port 10/100 Managed Ethernet Switch with MII
Three Port 10/100 Managed Ethernet Switch with MII
Datasheet
"Flow Control Enable Logic," on page 60. Pause frames are consumed by the MAC and not sent to
the switch engine. Non-pause control frames are optionally filtered or forwarded.
When the receive FIFO is full and additional data continues to be received, an overrun condition occurs
and the frame is discarded (FIFO space recovered) or marked as a bad frame.
The receive MAC can be disabled from receiving all frames by clearing the RX Enable bit of the Port
x MAC Receive Configuration Register (MAC_RX_CFG_x).
The size of the RX FIFO is 256 bytes. If a bad packet with less than 64 bytes is received, it will be
flushed from the FIFO automatically and the FIFO space recovered. Packets equal to or larger than
64 bytes with an error will be marked and reported to the switch engine. The switch engine will
subsequently drop the packet.
6.3.1.1
Receive Counters
The receive MAC gathers statistics on each packet and increments the related counter registers. The
following receive counters are supported for each switch fabric port. Refer to Table 13.12, “Indirectly
Accessible Switch Control and Status Registers,” on page 253 and Section 13.3.2.3 through
Section 13.3.2.22 for detailed descriptions of these counters.
„ Total undersized packets (Section 13.3.2.3, on page 270)
„ Total packets 64 bytes in size (Section 13.3.2.4, on page 271)
„ Total packets 65 through 127 bytes in size (Section 13.3.2.5, on page 272)
„ Total packets 128 through 255 bytes in size (Section 13.3.2.6, on page 273)
„ Total packets 256 through 511 bytes in size (Section 13.3.2.7, on page 274)
„ Total packets 512 through 1023 bytes in size (Section 13.3.2.8, on page 275)
„ Total packets 1024 through maximum bytes in size (Section 13.3.2.9, on page 276)
„ Total oversized packets (Section 13.3.2.10, on page 277)
„ Total OK packets (Section 13.3.2.11, on page 278)
„ Total packets with CRC errors (Section 13.3.2.12, on page 279)
„ Total multicast packets (Section 13.3.2.13, on page 280)
„ Total broadcast packets (Section 13.3.2.14, on page 281)
„ Total MAC Pause packets (Section 13.3.2.15, on page 282)
„ Total fragment packets (Section 13.3.2.16, on page 283)
„ Total jabber packets (Section 13.3.2.17, on page 284)
„ Total alignment errors (Section 13.3.2.18, on page 285)
„ Total bytes received from all packets (Section 13.3.2.19, on page 286)
„ Total bytes received from good packets (Section 13.3.2.20, on page 287)
„ Total packets with a symbol error (Section 13.3.2.21, on page 288)
„ Total MAC control packets (Section 13.3.2.22, on page 289)
SMSC LAN9313/LAN9313i
63
DATASHEET
Revision 1.2 (04-08-08)