86
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
•
All data streams associated with the project along with their type
are displayed in the
List of all data streams
list box.
•
The streams that are assigned to the port are displayed in the list
box labeled Assigned streams.
If a user-defined Network Traffic Simulator is selected (see
then an optional configuration string may be supplied.
To assign a
datastream
to the port:
1. Select the stream in the
List of all data streams
list box.
2. Click
Assign
.
The selected stream is added at the end of the assigned streams list. If a stream is already
assigned, it is not assigned again.
To deassign a stream:
1. Select the stream in the
Assigned streams
list.
2. Click
Remove
.
In the
How to select...
area at the bottom right of the dialog box are controls that allow you to
specify the method by which packets are selected from the assigned streams to be received by the
port. When multiple streams are assigned, the Workbench treats them as one continuous sequence
of packets.
Click
Sequential, Starting at packet
If you want the packets to be selected sequentially from the stream(s).
You can specify which packet you want to be the first packet received by
the port. After the port receives the last packet in the last assigned stream,
the Workbench wraps to the first packet in the first assigned stream.
Click
Random
If you want packets to be selected at random from the assigned streams.
For ATM streams, the PDUs are selected at random but the ordering of
cells within the PDU is always maintained. For example, assume a
stream has five PDUs. If PDU#2 is selected, its first cell will then be
placed into the receive buffer. The next time PDU#2 is selected, its
second cell is placed in the buffer, and so on, until all cells in the PDU
are selected. Then the first cell is selected again
Click
Interleaved, starting at packet
If you want interleaved cell selection for ATM streams. PDUs are
selected sequentially but only one cell in a PDU is selected at a time. For
example, assume an ATM stream has three PDUs, with PDU#1 having
one cell, PDU#2 having three cells and PDU#3 having two cells.
The packet selection sequence will be:
PDU#1 Cell#1
PDU#2 Cell#1
PDU#3 Cell#1
PDU#1 Cell#1
PDU#2 Cell#2
PDU#3 Cell#2
PDU#1 Cell#1