Datasheet

____________________________________________________ DS34S101, DS34S102, DS34S104, DS34S108
Rev: 032609 71 of 198
The CPU must define the number of buffers for each bundle by initializing the linked list for the bundle. Software
prepares these buffers by writing the Ethernet, IP/MPLS/L2TPv3/MEF headers in advance, so that the payload-
type machines need only to write the packet payload. Since the headers contain bundle-specific data (e.g.,
destination address), the same buffers are used for the same bundle until the bundle is closed by CPU software.
When closing a bundle, the CPU should check that all buffers have been returned, by following the linked list from
the head to the last buffer. The buffers of a closed bundle may be used for a different new bundle. The linked list
operation is depicted below.
Figure 10-50. Free Buffer Pool Operation
0
1
511
BUFFERS AREA
.
.
.
SDRAM
BASE
BUFFER ID DISPLACEMENT
PAYLOAD TYPE
MACHINE
BUFFER ID
0
63
1 9
.
.
.
.
.
.
2
HEADS
511
.
.
.
0
1
2
3
4
5
6
7
8
9
10
6
9
9
LINKED LIST
FREE BUFFER
POOL
TDMoPacket
BUFFER
ADDRESS
4 BITS 9 BITS 11 BITS
VALIDITY
BIT
BUFFER
ID