IDT Switch Operation
PES16NT2 User Manual
4 - 2
April 15, 2008
Notes
A flow control mechanism exists between the switch buffers and the transaction layer in the ingress
stack to prevent overflows. This flow control mechanism forms the basis of the PCIe flow control credits
advertised by the stack to the ingress port’s link partner. When a TLP is sent to the switch core from an
ingress stack, its header is looked-up in a routing map table and the TLP is queued in a buffer that corre-
sponds to the TLP type (i.e., posted, non-posted or completion).
Scheduling of a TLP to be forwarded from an input buffer to an egress stack is performed by an egress
scheduler and port arbiter associated with each egress stack. Thus, the PES16NT2 has three egress
schedulers and three port arbiters. A flow control mechanism exists between the egress scheduler and the
transaction layer in the egress stack. This flow control mechanism ensures that only TLPs which may be
accepted by the egress stack’s link partner are forwarded through the switch.
TLPs are routed in a cut-through manner through the PES16NT2 if the ingress link width is greater than
or equal to the egress link width. If the ingress link width is less than the egress link width, then the entire
TLP must be received before it is forwarded. The egress scheduler selects the TLP from each ingress port
that may be forwarded to the associated egress port. If multiple ingress ports have TLPs which may be
forwarded to the same egress port, the port scheduler selects the ingress port from which a TLP is
forwarded.
Associated with each TLP in an input buffer is a timestamp. An egress scheduler always selects the TLP
in the input buffer that contains the oldest timestamp. If that TLP is destined for a different egress port, then
the egress scheduler makes no selection for that input port (i.e., TLPs are always forwarded from an
ingress port in chronological order). TLP timestamps are also used to discard any TLP from the head of an
input buffer that is more than 50 ms old. See section Switch Time-Outs on page 4-5 for additional details.
In making its selection, the egress scheduler considers the PCIe ordering rules. The PES16NT2
supports relaxed ordering for requests as well as completions. When the Disable Relaxed Ordering (DRO)
bit is set in the port A Switch Control (SWCTL) register, the switch strongly orders all transactions regard-
less of the state of the relaxed ordering bit in TLPs.
The port scheduler associated with each egress port in the PES16NT2 supports hardwired round robin
and weighted round robin with 32 phases. Both of these algorithms only arbitrate TLP requests and do not
consider bandwidth consumption.
In addition to the input buffers in the switch core, each egress stack contains a replay FIFO. When the
replay buffer fills, backpressure is provided to the switch core and no TLPs are forwarded to that egress
port. Table 4.2 enumerates the default flow control credits advertised by each port of the switch core.
Flow Control
Category
Default
Advertised
Credits
Notes
Posted Header
30 credits
Each credit represents 20 bytes (i.e., 5 doublewords) for a max-
imum of 600 bytes
Posted Data
204 credits
Each credit represents 16 bytes (i.e., 4 doublewords) for a max-
imum of 3264 bytes
Non-Posted Header
30 credits
Each credit represents 20 bytes (i.e., 5 doublewords) for a max-
imum of 600 bytes
Table 4.2 PES16NT2 Advertised Flow Control Credits
Содержание 89HPES16NT2
Страница 14: ...DT List of Figures PES16NT2 User Manual viii April 15 2008 Notes...
Страница 20: ...IDT Register List PES16NT2 User Manual xiv April 15 2008 Notes...
Страница 32: ...IDT PES16NT2 Device Overview PES16NT2 User Manual 1 12 April 15 2008 Notes...
Страница 44: ...IDT Clocking Reset and Initialization Clock Operation PES16NT2 User Manual 2 12 April 15 2008 Notes...
Страница 50: ...IDT Link Operation PES16NT2 User Manual 3 6 April 15 2008 Notes...
Страница 62: ...IDT Power Management PES16NT2 User Manual 5 4 April 15 2008 Notes...
Страница 78: ...IDT SMBus Interfaces PES16NT2 User Manual 6 16 April 15 2008 Notes...
Страница 83: ...IDT NTB Upstream Port Failover PES16NT2 User Manual 7 5 April 15 2008 Notes...
Страница 84: ...IDT NTB Upstream Port Failover PES16NT2 User Manual 7 6 April 15 2008 Notes...
Страница 130: ...IDT Transparent Mode Operation PES16NT2 User Manual 9 44 April 15 2008 Notes...
Страница 284: ...IDT Non Transparent Mode Operation PES16NT2 User Manual 10 154 April 15 2008 Notes...