ksz8893mqlam Micrel Semiconductor, ksz8893mqlam Datasheet - Page 93

no-image

ksz8893mqlam

Manufacturer Part Number
ksz8893mqlam
Description
Integrated 3-port 10/100 Managed Switch With Phys
Manufacturer
Micrel Semiconductor
Datasheet
Static MAC Address Table
The KSZ8893MQL/MBL supports both a static and a dynamic MAC address table. In response to a Destination
Address (DA) look up, the KSZ8893MQL/MBL searches both tables to make a packet forwarding decision. In
response to a Source Address (SA) look up, only the dynamic table is searched for aging, migration and learning
purposes.
The static DA look up result takes precedence over the dynamic DA look up result. If there is a DA match in both
tables, the result from the static table is used. The entries in the static table will not be aged out by the
KSZ8893MQL/MBL.
The static table is accessed by a external processor via the SMI, SPI or I
performs all addition, modification and deletion of static MAC table entries.
Bit
57-54
53
52
51
50-48
47-0
December 2007
Examples:
1. Static Address Table Read (Read the 2
Name
FID
Use FID
Override
Valid
Forwarding
Ports
MAC Address
Then,
Write to reg. 121 (0x79) with 0x10
Write to reg. 122 (0x7A) with 0x01
Read reg. 124 (0x7C), static table bits [57:56]
Read reg. 125 (0x7D), static table bits [55:48]
Read reg. 126 (0x7E), static table bits [47:40]
Read reg. 127 (0x7F), static table bits [39:32]
Read reg. 128 (0x80), static table bits [31:24]
Read reg. 129 (0x81), static table bits [23:16]
Read reg. 130 (0x82), static table bits [15:8]
Read reg. 131 (0x83), static table bits [7:0]
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 16. Format of Static MAC Table (8 Entries)
Description
Filter VLAN ID – identifies one of the 16 active VLANs
= 1, use (FID+MAC) for static table look ups
= 0, use MAC only for static table look ups
= 1, override port setting “transmit enable=0” or
“receive enable=0” setting
= 0, no override
= 1, this entry is valid, the lookup result will be used
= 0, this entry is not valid
These 3 bits control the forwarding port(s):
48-bit MAC Address
001, forward to port 1
010, forward to port 2
100, forward to port 3
011, forward to port 1 and port 2
110, forward to port 2 and port 3
101, forward to port 1 and port 3
111, broadcasting (excluding the
ingress port)
nd
Entry)
93
// Read static table selected
// Trigger the read operation
2
C interfaces. The external processor
Default
0000
0
0
0
000
0x0000_0
000_0000
M9999-121007-1.5

Related parts for ksz8893mqlam