English
Language : 

LAN9313 Datasheet, PDF (65/398 Pages) SMSC Corporation – Three Port 10/100 Managed Ethernet Switch with MII
Three Port 10/100 Managed Ethernet Switch with MII
Datasheet
„ Total multicast packets (Section 13.3.2.37, on page 304)
„ Total packets with a late collision (Section 13.3.2.38, on page 305)
„ Total packets with excessive collisions (Section 13.3.2.39, on page 306)
„ Total packets with a single collision (Section 13.3.2.40, on page 307)
„ Total packets with multiple collisions (Section 13.3.2.41, on page 308)
„ Total collision count (Section 13.3.2.42, on page 309)
6.4
6.4.1
Switch Engine (SWE)
The switch engine (SWE) is a VLAN layer 2 (link layer) switching engine supporting 3 ports. The SWE
supports the following types of frame formats: untagged frames, VLAN tagged frames, and priority
tagged frames. The SWE supports both the 802.3 and Ethernet II frame formats.
The SWE provides the control for all forwarding/filtering rules. It handles the address learning and
aging, and the destination port resolution based upon the MAC address and VLAN of the packet. The
SWE implements the standard bridge port states for spanning tree and provides packet metering for
input rate control. It also implements port mirroring, broadcast throttling, and multicast pruning and
filtering. Packet priorities are supported based on the IPv4 TOS bits and IPv6 Traffic Class bits using
a DIFFSERV Table mapping, the non-DIFFSERV mapped IPv4 precedence bits, VLAN priority using
a per port Priority Regeneration Table, DA based static priority, and Traffic Class mapping to one of 4
QoS transmit priority queues.
The following sections detail the various features of the switch engine.
MAC Address Lookup Table
The Address Logic Resolution (ALR) maintains a 1024 entry MAC Address Table. The ALR searches
the table for the destination MAC address. If the search finds a match, the associated data is returned
indicating the destination port or ports, whether to filter the packet, the packets priority (used if
enabled), and whether to override the ingress and egress spanning tree port state. Figure 6.3 displays
the ALR table entry structure. Refer to the Switch Engine ALR Write Data 0 Register
(SWE_ALR_WR_DAT_0) and Switch Engine ALR Write Data 1 Register (SWE_ALR_WR_DAT_1) for
detailed descriptions of these bits.
Bit 56
55
54
Valid
Age /
Override
Static
53
Filter
52
51
Priority
50
49
48
Port
47
...
0
MAC Address
Figure 6.3 ALR Table Entry Structure
SMSC LAN9313/LAN9313i
65
DATASHEET
Revision 1.2 (04-08-08)