English
Language : 

KSZ8895 Datasheet, PDF (89/115 Pages) Infineon Technologies AG – Integrated 5-Port 10/100 Managed Ethernet Switch with MII/RMII interface
Micrel, Inc.
KSZ8895MQ/RQ/FMQ
Static MAC Address Table
KSZ8895MQ/RQ/FMQ has a static and a dynamic address table. When a DA look-up is requested, both tables will
be searched to make a packet forwarding decision. When an SA look-up is requested, only the dynamic table is
searched for aging, migration, and learning purposes. The static DA look-up result will have precedence over the
dynamic DA look-up result. If there are DA matches in both tables, the result from the static table will be used. The
static table can only be accessed and controlled by an external SPI master (usually a processor). The entries in the
static table will not be aged out by KSZ8895MQ/RQ/FMQ. An external device does all addition, modification and
deletion.
Note:
Register bit assignments are different for static MAC table reads and static MAC table write, as shown in the two tables below.
Address Name
Description
Format of Static MAC Table for Reads (32 entries)
63-57
56
55
FID
Use FID
Reserved
Filter VLAN ID, representing one of the 128 active
VLANs.
1, use (FID+MAC) to look-up in static table.
0, use MAC only to look-up in static table.
Reserved.
54
Override
53
52-48
Valid
Forwarding Ports
47-0
MAC Address (DA)
1, override spanning tree “transmit enable = 0” or
“receive enable = 0* setting. This bit is used for
spanning tree implementation.
0, no override.
1, this entry is valid, the look-up result will be used.
0, this entry is not valid.
The 5 bits control the forward ports, example:
00001, forward to Port 1
00010, forward to Port 2
…..
10000, forward to Port 5
00110, forward to Port 2 and Port 3
11111, broadcasting (excluding the ingress port)
48 bit MAC address.
Format of Static MAC Table for Writes (32 entries)
62-56
55
54
FID
Use FID
Override
53
52-48
Valid
Forwarding Ports
47-0
MAC Address (DA)
Filter VLAN ID, representing one of the 128 active
VLANs.
1, use (FID+MAC) to look-up in static table.
0, use MAC only to look-up in static table.
1, override spanning tree “transmit enable = 0” or
“receive enable = 0” setting. This bit is used for
spanning tree implementation.
0, no override.
1, this entry is valid, the look-up result will be used.
0, this entry is not valid.
The 5 bits control the forward ports, example:
00001, forward toPort 1
00010, forward to Port 2
.....
10000, forward to Port 5
00110, forward to Port 2 and Port 3
11111, broadcasting (excluding the ingress port)
48-bit MAC address.
Table 15. Static MAC Address Table
Mode
RO
RO
RO
RO
Default
0000000
0
N/A
0
RO
0
RO
00000
RO
0x0
W
0000000
W
0
W
0
W
0
W
00000
W
0x0
January 2011
89
M9999-012011-1.2