Datasheet
KSZ8795CLX
DS00002112B-page 80 2016-2017 Microchip Technology Inc.
4.4 Static MAC Address Table
The KSZ8795CLX incorporates 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 KSZ8795CLX. 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
following table.
Direct Address 0x6E,
Function Select Bits[7-5] = 000,
Table_select Bits[3-2] = 11
0x000 – 0x08F, 0x100 – 0x109 0x000 – 0x01F Port 1 MIB Counters
0x020 – 0x03F Port 2 MIB Counters
0x040 – 0x05F Port 3 MIB Counters
0x060 – 0x07F Port 4 MIB Counters
0x080 – 0x09F Port 5 MIB Counters
0x100 – 0x113 Total Byte and
Dropped MIB Counter
Direct Address 0x6E,
Function Select Bits[7-5] = 001,
Bits[3-0] = Indirect Address
Bits[11-8] = MSB Indirect Address =
Port indirect register address 0xn
{0xn, 6h00} – {0xn, 6h05} Port-based 16-bit EEE Control
Registers 0 – 5
n – Port number
Use Indirect Byte Register (0xA0)
Direct Address 0x6E,
Function Select Bits[7-5] = 010,
Bits[3-0] = Indirect Address
Bits[11-8] = MSB Indirect Address =
Port indirect register address 0xn
{0xn, 6h00} – {0xn, 6h1F} ACL entry 0 – 15, 6h00 and 6h01 for
entry 0, etc.
n = Port number
Use Indirect Byte Register(0xA0)
Direct Address 0x6E,
Function Select Bits[7-5] = 011,
Bits[3-0] = Indirect Address
Bits [11-8] = MSB Indirect Address =
Port indirect register address 0xn
{0xn, 8h00} – {0xn, 8h4FF} Reserved for the factory.
Direct Address 0x6E,
Function Select Bits[7-5] = 100,
Bits[3-0] = Indirect Address
Bits[11-8] = MSB Indirect Address =
Port indirect register address 0xn
{0xn, 8h00} – {0xn, 8h4FF} Configuration Registers, PME, etc.
n = 0 - Global
n = 1 – 4 Port number
Use Indirect Byte Register(0xA0)
Direct Address 0x6E,
Function Select Bits[7-5] = 101,
Bits[3-0] = Indirect Address
Bits [11-8] = MSB Indirect Address =
Port indirect register address 0xn
{0xn, 8h00} – {0xn, 8h4FF} Reserved for the factory.
TABLE 4-16: STATIC MAC ADDRESS TABLE
Address Name Description Mode Default
Format of Static MAC Table for Reads (32 entries)
63 - 57 FID Filter VLAN ID, representing one of the 128 active
VLANs.
RO 0000000
56 Use FID 1 = Use (FID+MAC) to look-up in static table.
0 = Use MAC only to look-up in static table.
RO 0
55 Reserved — RO 0
TABLE 4-15: INDIRECT REGISTER DESCRIPTIONS (CONTINUED)
Control Indirect Address Contents