IXP1200 Network Processor Family ATM OC-3/12/Ethernet IP Router Example Design
Application Note 19

Modified on: 3/20/02,

2.4.2 Ethernet to ATM D at a Flo w

Figure 11 outlines the sequence of events that takes place when processing incoming Ethernet

packets. Incoming Ethernet packets can either fit within a single MPKT ("m-packet", 64 byte

packet "fragment"), or span multiple MPKTs. The SOP (start of packet) and EOP (end of packet)

bits indicate the starting and ending MPKTs. As MPKT s are received, they are stored in an DRAM

data buffer.

When the first MPKT is received (SOP asserted), the IP header is read from the RFIFO, the header

checksum is checked, the appropriate IP fields are updated (i.e. TTL), and an IP lookup is

performed. The IP Lookup Table Entry tells the receiver which port to route to, and which LLC/

SNAP pattern to prepend to the PDU. The LLC/SNAP and modified IP headers are then written to

DRAM.

When the final MPKT is received (EOP asserted), the AAL5 trailer is written out to DRAM and the

fully assembled PDU is enqueued for ATM transmission.

Figure 11. Ethernet to ATM Processing Steps

2.5 StrongARM Core Initialization

On hardware, NetApp_Init is linked into VxWorks, and does the following:

1. Initialize the hardware, including the MACs and PHYs via VxWorks network drivers.

2. Control the baseboard 82559 PCI Ethernet NIC.

A9637-01
UBR
Queue 0
UBR
Queue 1
IP
Address
Port 0
Port 1
Port
type
Payload
MPKT N
Payload
MPKT 1
Payload
MPKT0
1
Ether
Hdr IP
Hdr
Port
number
IP Lookup
Ethernet Frame on Rx Port
Route Table
SDRAM
Pack Buffer
ATM
header LLC
header
Payload ATM
Hdr Payload
LLC
Hdr IP
Packet AAL-5
trailer
Receive
MPKT Move
MPKT
payload to
buffer
Perform IP
lookup on SOP
Port State
Segmentation
Queues
Buffer Base Address
Buffer OffsetLength
2
3Set current port state on first
MPKT strip Enet header
4Locate buffer & offset
5
Transmit
from
segmentation
queues on
transmit
add ATM
header
9
Add
LLC/SNAP
header &
AAL-5
trailer
on EOP
Generate CRC
on PDU
6
7
Place
on Tx
queue
8
ATM PDU on Tx Port