English
Language : 

PXF4333 Datasheet, PDF (114/361 Pages) Infineon Technologies AG – ABM 3G ATM Buf fer Manager
ABM-3G
PXF 4333 V1.1
Operational Description
4.2.2.7 Guaranteed Cell Rates and WFQ Weight Factors
The total WFQ scheduler rate is calculated as follows:
GCRWFQ = CCRSB – ECRRT(SB)
(24)
with CCRSB being the configured SB rate as defined in Section 4.2.2.2 and ECRRT(SB)
being the effective cell rate of the high priority RR scheduler in the SB.
GCRWFQ is distributed to the queues in proportion to the queue’s relative weight factor 1/
TWFQ.
The guaranteed cell rate for connection i is calculated according to:
GCRi = -------------------------------------G-----C----R-----W-----F---Q---------------------------------------
(25)
TWFQ(i) ×
Ã¥
1 ⁄ TWFQ(k)
∀k ∈ Active Queues
with TWFQ constrained internally to:
TWFQ ≤ 214 – 26
(26)
Therefore, TWFQmax = 16320.
The minimum guaranteed cell rate at a given GCRWFQ is therefore:
GCRmin
=
G-----C-----R-----W-----F---Q--
TWFQmax
(27)
Assuming a fixed given GCRmin, then for any given GCR >= GCRmin the corresponding
TWFQ can be calculated as:
TWFQ=
-G----C-----R-----m----i-n----×-----T----W-----F---Q----m----a---x-
GCR
(28)
The integer function in equation above selects the next smaller value of the integer TWFQ,
that is to say, the weight factor is higher than required and, thus, the queue is served
slightly faster in order to guarantee the rate.
Two special cases must be considered:
TWFQ = 0 is used to assign the queue to the high priority round robin scheduler.
TWFQ = 16383 is used to assign the queue to the low priority round robin scheduler.
TWFQ is referred to as parameter WFQFactor in the register description “UQPT2T1/
DQPT2T1” on Page 254.
Data Sheet
114
2001-12-17