Data Sheet
MT92220
39
Zarlink Semiconductor Inc.
Figure 17 - Rx Flow 2
The packet’s destination may be one of the TX link packet buffers, the Network CPU packet buffer, or the packet
disassembly module. If the packet’s destination is the packet disassembly module, then the post-search structure
will contain a pointer to a valid RX RTP Connection Structure. The packet is then written into the Packet
Disassembly Memory and read on the other side by the packet disassembly module.
The packet disassembly module reads the RX RTP Connection Structure, and based on the Marker bit and Payload
type of the packet (or its UDP length, if it carries no RTP), it will search in the Payload Byte/Marker Bit table for the
entry number that corresponds to the current packet. The entry number will point to 1 of 16 RX RTP channel
structures, which may be xxPCM Channel Structures, HDLC Channel Structures, CPU Channel Structures or may
indicate to delete the packet.
An RX RTP xxPCM Channel Structure will contain pointers to one or many circular buffers in which its PCM data
will be written, depending on how many bearers it carries. It will also contain a pointer to an RTP Common PDV
Absorption Structure, which will be used to do de-jittering on the bearer’s payload. Many xxPCM Channels can
share the same Common PDV Absorption Structure, which allows them to be de-jittered in common and ensures
that a slip on one will force a slip on all.
If the selected channel structure is an RX HDLC Channel Structure, then it will contain a pointer to an RX HDLC
Stream/Buffer Control Structure, which will itself point to a circular buffer. In HDLC, channels are policed
independently, but are then merged into a common circular buffer for the entire stream. The RX HDLC
Stream/Buffer Control Structure will contain the base address as well as the read and write pointers to this circular
buffer.
If the selected channel structure is an RX CPU Channel Structure, it will contain a pointer to an RX CPU Buffer
Control Structure. Except for the fact that the CPU Channel Structure will not request HDLC framing to be
Packet
Identification
Buffer Handles
(global) NET6
Packet
Parsing
Next
Header
Memory
(global)
ID4
Profile
Memory
(Option +
TOS)
(global) ID1
Identification
Key CRC +
hashing
Profile
Memory Entry
(Hash Key
Mask) (1 per
Profile) ID1
Binary Tree
Search
Binary Tree
(global) ID6
Post-Search
Process
Post-Search
Confirmation
Structure (1
per
connection or
header) ID2
Flow
Table (1
per
logical
subnet)
ID0
Identifi-
cation
Key (pre-
CRC)
First Post-
Search
Confirmation
Structure
Address
IP Address
Index
(points to an
entry in the
Flow Table)
Initial Default
Post-Search
Structure (1
per packet
type) ID2
RX RTP Connection
Structure Base Address
If the post-search process decides to search for the
packet in the binary tree using another profile
If the initial search was for an MPLS label, MPOA
tag or ELAN ID, and the result is valid, then the
packet will be parsed again, ignoring that header
Packet Parsing: Reads through the headers of the packet, finds protocol errors, extracts the headers that
will be used to form the identification key based on the packet type.
Identification Key CRC + hashing: Applies a mask to the identification key, then performs a CRC on it,
and annexes the profile number to obtain a 60-bit key.
Binary Tree Search: Searches for the identification key in the binary tree. If it succeeds, returns a pointer
to a Post-Search Confirmation Structure. If it fails, the Profile Default Structure will be
consulted.
Post-Search Process: Compares the packet’s headers to those in the post-search confirmation structure.
Also checks if the packet passes the flow table look-up. If the packet fails, it will use the profile default
structure to establish its destination. The destination may be back to the packet identifier (in the case of a
header, i.e. MPLS, MPOA, ELAN-ID) or back to the Identification Key CRC + hashing process, if the
established destination is to route using another profile.
RX AAL2 VC process: Does AAL2 cell-level treatment, breaks down cells into AAL2 mini-packets, find Seq
# and HEC errors. It will send mini-packets to an RX AAL2 connection structure according to their CID.
RX AAL2 Raw
Cell Buffer
Pointers
(global)
RAWCELL2
RX AAL2 VC
Process
RX AAL2 VC
Structure (1
per VC)
AAL2STR2
RX AAL2 CID
Translation
Structure (1 per
VC) AAL2STR1
RTP Data
AAL2 Data
AAL2 Control
Profile Default
Post-Search
Structure (1 per
profile) ID2