Figure 32-14. aal2 switching, 4 aal2 rx data structures, Aal2 rx data structures -23 – Freescale Semiconductor MPC8260 User Manual

Page 1085: Aal2 switching -23

Advertising
background image

ATM AAL2

MPC8260 PowerQUICC II Family Reference Manual, Rev. 2

Freescale Semiconductor

32-23

Figure 32-14. AAL2 Switching

A partial packet discard mode is provided for the AAL2 switched channels that perform end-to-end
SSSAR. When this mode is enabled (switch RxQD[PPD]=1), if no buffer is available to receive a packet
in the middle of a frame, the subsequent middle packets of the SSSAR SDU are discarded. When the last
packet of the SSSAR SDU arrives, the receiver attempts to re-open a buffer.

A number-of-packets-in-queue counter is available in the TxQD. The CP increments the counter for each
packet received and decrements it for each packet sent. The host can poll the counter periodically to verify
that the switching queues are not over-loaded.

On any open BD that is partially filled, the receiver sets the UP (Un-complete packet) bit. When the packet
is fully received during a normal error-free operation, the UP mark is removed, the Empty bit is set, and
operation continues. However, if an error is detected by the receiver, the Empty bit is set and the UP bit
remains set. In such a case, the transmitter skips this BD and proceeds to the next one. If for any reason
the receiver that was in the middle of the BD stopped receiving traffic, the UP bit remains set and the
Empty bit is cleared. Another receiver using the same BD ring monitors the UP bit in addition to the Empty
bit. If the UP bit is set, the other receiver does not proceed with the reception and gives a Busy interrupt.
See

Figure 32-17

.

The receiver that is in a “stuck” state marks the BD with the receiver channel code that received the partial
packet so that the host intervention is easier if needed. See

Figure 32-19

.

If the TBNR Time Out CNT mechanism is used, the transmitter advances after it tries to transmit the same
BD with UP set after a given amount of attempts. The BD will be freed up for use. Refer to the TBNR
Time Out CNT description in

Table 32-6

.

32.4.4

AAL2 RX Data Structures

The following sections describe the receive conntection tables and the structures in which CPS packets and
SSSAR SDUs are stored in memory.

TxQD

TxBD table

TxBD table

Tx buffers

Tx buffers

CID mapping table

Offset

RxQD table

Switch RxQD

Switch RxQD

CID71

CID mapping table

Offset

CID14

SW=1

TxQD

SW=1

ATM Rx VC

1

ATM Rx VC

2

ATM Tx VC

Advertising