![](http://datasheet.mmic.net.cn/330000/PM73487-PI_datasheet_16444394/PM73487-PI_45.png)
PM73487 QRT
PMC-Sierra, Inc.
PMC-980618
Issue 3
622 Mbps ATMTraffic Management Device
Released
Datasheet
33
used by the controller to decide which SC to service. Following this decision, the selected SC’s
VCs are serviced in a round-robin manner. The selected VC then transmits the first cell in its
queue.
The general algorithm for deciding which SC to service is as follows (certain multicast SCs may
be ineligible for selection in particular modes or operating conditions; these will be described
after the numbered list that follows):
1.
Strict priority SC1 has primary service priority. If there is an SC1 with a cell, it will be selected. The
SC1 service classes are serviced in a weighted round-robin manner, alternating between unicast and
multicast classes (Q
0
, Q
32
, Q
1
, Q
33
, Q
2
, Q
34
, Q
3
, Q
35
, Q
0,
...). The SC1 round-robin pointer will remain
pointed at an SC for up to
w
cell selections, where
w
is the SC’s weight. If no cells are available in an
SC, the round-robin pointer is advanced. Thus, the most time-critical VCs should be placed in an SC1
service class. The pointer for the SC1 service classes is separate from the pointer to the SC2 and GP ser-
vice classes.
2.
Strict priority SC2 has secondary service priority. It is treated in the same fashion as SC1, except it has
its own independent round-robin pointer and the weighted round-robin order is: Q
4
, Q
36
, Q
5
, Q
37
, Q
6
,
Q
38
, Q
7
, Q
39
, Q
4
, ....
3.
If no cell exists in the strict priority classes, then the controller accesses the timeslot-based priority table
in a round-robin manner. Each entry of this table contains a GP SC number. If the SC pointed to by the
active entry has cells, that SC is selected. The active entry is incremented to the next timeslot each time
the timeslot table is accessed. The table has 127 entries and wraps around. This servicing mechanism
provides the MCR guarantee on a per-SC basis. The number of times an SC is placed in the timeslot
table can be used to determine its MCR.
4.
If no cell exists in the strict priority classes, and no cell exists in the SC pointed to by the active entry of
the timeslot-based priority table, then the GP SCs are serviced in a weighted round-robin manner simi-
lar to the SC1 and SC2 classes (Q
8
, Q
40
, Q
9
, Q
41
, Q
10
, Q
42
, Q
11
, Q
43
, Q
12
, Q
44
, ..., Q
31
, Q
63
, Q
8
, ...).
Again this has a separate round-robin pointer than that kept for the SC1 and SC2 service classes.
Figure 39. Receive Service Class (SC) Map
Unicast Traffic
Multicast Traffic
Strict Priority SC1
Strict Priority SC2
Timeslot-Based Priority
General Purpose (GP)
Weighted Round-
Robin SCs
Q
0
Q
2
Q
3
Q
1
Q
4
Q
6
Q
7
Q
5
Q
32
Q
34
Q
35
Q
33
Q
36
Q
38
Q
39
Q
37
Q
8
Q
10
Q
11
Q
9
Q
40
Q
42
Q
43
Q
41
S
0
S
1
Q
12
Q
14
Q
15
Q
13
Q
44
Q
46
Q
47
Q
45
Q
16
Q
18
Q
19
Q
17
Q
48
Q
50
Q
51
Q
49
Q
20
Q
22
Q
23
Q
21
Q
52
Q
54
Q
55
Q
53
Q
24
Q
26
Q
27
Q
25
Q
56
Q
58
Q
59
Q
57
Q
28
Q
30
Q
31
Q
29
Q
60
Q
62
Q
63
Q
61
S
125
S
126
VC
1
VC
2
VC
4
VC
3
Round-Robin among VCs
within an SC