SMSC LAN9311 User Manual
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
Revision 1.4 (08-19-08)
396
SMSC LAN9311/LAN9311i
DATASHEET
14.5.3.26
Switch Engine Ingress Rate Command Register (SWE_INGRSS_RATE_CMD)
This register is used to indirectly read and write the ingress rate metering/color table registers. A write
to this address performs the specified access.
to this address performs the specified access.
indicates when the command is finished. The
can then be read.
F o r a w r i t e a c c e s s , t h e
indicates when the
command is finished.
For details on 16-bit wide Ingress Rate Table registers indirectly accessible by this register, see
below.
Register #:
184Bh
Size:
32 bits
BITS
DESCRIPTION
TYPE
DEFAULT
31:8
RESERVED
RO
-
7
Ingress Rate RnW
These bits specify a read(1) or write(0) command.
These bits specify a read(1) or write(0) command.
R/W
0b
6:5
Type
These bits select between the ingress rate metering/color table registers as
follows:
These bits select between the ingress rate metering/color table registers as
follows:
00 = RESERVED
01 = Committed Information Rate Registers
01 = Committed Information Rate Registers
(uses CIS Address field)
10 = Committed Burst Register
11 = Excess Burst Register
11 = Excess Burst Register
R/W
00b
4:0
CIR Address
These bits select one of the 24 Committed Information Rate registers.
These bits select one of the 24 Committed Information Rate registers.
When Rate Mode is set to Source Port & Priority in the
, the first
set of 8 registers (CIR addresses 0-7) are for to Port 0, the second set of 8
registers (CIR addresses 8-15) are for Port 1, and the third set of registers
(CIR addresses 16-23) are for Port 2. Priority 0 is the lower register of each
set (e.g. 0, 8, and 16).
registers (CIR addresses 8-15) are for Port 1, and the third set of registers
(CIR addresses 16-23) are for Port 2. Priority 0 is the lower register of each
set (e.g. 0, 8, and 16).
When Rate Mode is set to Source Port Only, the first register (CIR address
0) is for Port 0, the second register (CIR address 1) is for Port 1, and the
third register (CIR address 2) is for Port 2.
0) is for Port 0, the second register (CIR address 1) is for Port 1, and the
third register (CIR address 2) is for Port 2.
When Rate Mode is set to Priority Only, the first register (CIR address 0) is
for priority 0, the second register (CIR address 1) is for priority 1, and so
forth up to priority 23.
for priority 0, the second register (CIR address 1) is for priority 1, and so
forth up to priority 23.
Note:
Values outside of the valid range may cause unexpected results.
R/W
0h