Completion Size Estimation - Renesas IDT 89HPES48H12G2 User Manual

Pci express switch
Table of Contents

Advertisement

IDT Switch Core
Notes
PES48H12G2 User Manual
tmp = RequestMeteringCounter
RequestMeteringCounter
RMCTL.DVADJ)
if (tmp < RequestMeteringCounter) {
RequestMeteringCounter = 0
Figure 3.7 Request Metering Counter Decrement Operation

Completion Size Estimation

This section describes the value that is loaded into the request metering counter when a request is
transferred into the switch core. This value is referred to as the completion size estimate. The completion
size estimate is based on the type of non-posted request as described below. The request metering counter
is a 24-bit counter that represents a fixed point 0:13:11 number (i.e., an unsigned number with 13 integer
bits and 11 fractional bits).
The completion size estimate is a 0:13:3 number. The least significant eight fractional bits of the comple-
tion size estimate are always implicitly zero.
Non-Posted Writes
The completion size estimate is 0x0018 which corresponds to 3 DWords (3 DWord header)
Non-Posted Reads
The completion size estimate is based on the Length field in the read request header and is computed
as shown in Figure 3.8. All arithmetic in this section is performed using an implicit 0:13:3 representation and
all values are implicitly converted to this value.
DataDWords =
If (DataDWords == 0) {
CompletionSizeEstimate = 3
} else if (DataDWords <= CnstLimit) {
CompletionSizeEstimate = DataDWords + 1
} else {
OverheadDWords = (DataDWords >> OverheadFactor)
CompletionSizeEstimate = DataDWords + OverheadDWords
}
Figure 3.8 Non-Posted Read Request Completion Size Estimate Computation
The number of data DWords in a non-posted request TLP is estimated by the number of PCI Express
data credits required by the corresponding completion(s). Each PCI Express data credit is 4 DWords or 16
bytes.
– The first line in Figure 3.8 computes the number of DWords required by the completion(s) using
the number of required PCI Express data credits. This corresponds to PCI Express completion
data credits multiplied by 4.
-=
(DecrementValue[LinkSpeed,LinkWidth]
Length / 4
*4
3 - 12
+
April 5, 2013

Advertisement

Table of Contents
loading

Table of Contents