95
3.0 Functional Description
3.5 Reassembly Coprocessor
Bt8230
ATM Segmentation and Reassembly Controller—SAR
N8230DS1F
Once an OAM cell is detected, the cell is checked to determine whether it is a
PM cell. Note that PM detection is only performed on F4 and F5 OAM cells. The
PM word pointed to by the PMINDEX field in the hash bucket is read, and the
PM reporting fields Block Error Result and Lost/Misinserted Cell Count are
appended to the cell payload. The reporting fields are also written to the
RSM/SEG Queue for further processing by the segmentation coprocessor.
3.5.14.1 PM Operation
Upon receiving a PM activation cell, the local or host processor must enable PM
on the applicable channel by setting the PM_EN bit high and writing the PMIN-
DEX to point to the memory location that contains the BIP16 and BCNT values.
The PMINDEX value has a minimum value of 4 and a maximum value of 127.
Both BIP16 and BCNT should initially be written to zero. For F4 flows, each VCI
channel in the VPI group must have the PM_EN bit set to one and the PMINDEX
pointing to the same location. This is also true of the VCI 3/4 hash bucket set up
to handle F4 flows. Once this has been performed, the processor must send an
activation confirmed OAM cell to the originator. When a user data cell is received
that has PM activated on the channel, the BIP16 and BCNT values are updated.
NOTE:
The cell buffer size must be large enough to hold a complete cell when
OAM detection is enabled.
3.5.15 Message Time Out
Message time out is supported by the LAST_TS field in the VCC table. The pro-
cessor can peruse the VCC tables looking for active PDUs, with TOT_PDU_LEN
not NULL. The processor then compares the LAST_TS field against the CLOCK
register in the Bt8230. If the maximum reassembly time has elapsed, the proces-
sor alerts the reassembly coprocessor that a time-out has occurred through the
RSM_TO register.
The processor reads the Reassembly Time Out Register [RSM_TO; 0x80]
until it returns a NULL. The processor then writes the address of the first word of
the VCC table of the timed-out channel in the TOPNTR field, the status destina-
tion to the LSTAT field, and if the channel is an AAL3/4, will set the
TMO_AAL34 bit to a logical one. The Bt8230 will then write a status entry with
the TO bit set to a logical one, and initialize the VCC table for a new CPCS-PDU.
The TO bit in the status entry will be set to a logical one, and the BUFF_ADDR
field will point to the beginning of the first buffer in the linked cell list. In stream-
ing mode, the BUFF_ADDR field will point to the beginning of the last cell
buffer.
3.5.16 Credit Check
The credit check is mainly a microprocessor function. The local or host micropro-
cessor would peruse the VCC tables. For each active channel, with
TOT_PDU_LEN > 0, the LAST_TS and CREDIT_TS are read along with the
CELL_COUNT and LAST_COUNT. The processor then calculates the number
of cells per time interval as follows:
(CELL_COUNT – LAST_COUNT)
÷ (LAST_TS – CREDIT_TS)
If the number of cells per time unit exceeds the channel specification, the host
may be notified via the HOST_MBOX register interrupt. The processor then cop-