Datasheet

KSZ8795CLX
DS00002112B-page 94 2016-2017 Microchip Technology Inc.
Port_ACL_A
ACL Port Register 10 (0x0A)
Reg. 110 (0x6E) Bits[7:5] = 010 for ACL, Reg. 110 Bits[3:0] = 0xn for Ports 1, 2, 3, 4, and 5.
Reg. 111 (0x6F) Bits[7:0] = Offset 0x0A to access the Indirect Byte Register 0xA0.
Location: (010 ACL) -> {0xn, offset} -> 0xA0 holds the data.
Action Field
7 - 6 PM[1:0] Priority Mode
00 = No priority is selected; the priority determined
by QoS/Classification is used in the tagged
packets.
01 = Priority in P [2:0] bits field is used if it is
greater than QoS result in the 3-bit priority field of
the tagged packets received.
10 = Priority in P [2:0] bits field is used if it is
smaller than QoS result in the 3-bit priority field of
the tagged packets received.
11 = P [2:0] bits field will replace the 3-bit priority
field of the tagged packets received.
R/W 00
5 - 3 P[2:0] Priority
Note: The 3-bit priority value to be used
depends on PM [1:0] setting in Bits[7:6].
R/W 000
2 RPE Remark Priority Enable
0 = No remarking is necessary.
1 = VLAN priority bits in the packets are replaced
by RP[2:1] bits field below in the list.
R/W 0
1 - 0 RP[2:1] Remark Priority
00 = Priority 0
01 = Priority 1
10 = Priority 2
11 = Priority 3
R/W 00
Port_ACL_B
ACL Port Register 11 (0x0B)
Reg. 110 (0x6E) Bits[7:5] = 010 for ACL, Reg. 110 Bits[3:0] = 0xn for Ports 1, 2, 3, 4, and 5.
Reg. 111 (0x6F) Bits[7:0] = Offset 0x0B to access the Indirect Byte Register 0xA0.
Location: (010 ACL) -> {0xn, offset} -> 0xA0 holds the data.
Action Field
7 RP[0] Remark Priority R/W 0
6 - 5 MM[1:0] Map Mode
00 = No forwarding remapping is necessary. Don’t
use the forwarding map in FORWARD field; use
the forwarding map from the look-up table only.
01 = The forwarding map in FORWARD field is
OR’ed with the forwarding map from the look-up
table.
10 = The forwarding map in FORWARD field is
AND’ed with the forwarding map from the look-up
table.
11 = The forwarding map in FORWARD field
replaces the forwarding map from the look-up
table.
R/W 00
TABLE 4-21: ACL INDIRECT REGISTERS FOR 14 BYTE ACL RULES (CONTINUED)
Address Name Description Mode Default