beautypg.com

Teledyne LeCroy IBTrainer - IBTrainer Users Manual User Manual

Page 54

background image

Testing with the User Interface

Viewing the Results

54

CATC IBTrainer InfiniBand Exerciser, August 2002

The first check-routine that returns IGCPacketHandler_ACCEPT ends the

chain, no subsequent handlers will be called with this packet. Only when

the check handler returns either ACCEPT or CHANGE, the handle-

routine of the handler will be called. Returning REJECT directly passes

the packet to the next handler in the chain.

With the software, you can:

• Delete handlers listed in the Available handlers list using the Delete

handler

button.

• Save handlers in external TCL files using the Save handlers button.

• Load handlers from external TCL files using the Load handlers button.

How to Configure Virtual Lanes for
Rerouting Incoming Packets

You can set up the virtual lanes for the IBTrainer in the following ways:

• You can enable all packets coming on a given lane.

• You can discard the packets.

• You can reroute the packets to the buffer or the memory block.

These settings are used by the pattern matcher to filter incoming

packets. Refer to “Using Matching Patterns for Filtering Incoming

Packets” on page 48

for details.

To configure the virtual lanes:

1 Select Generator > Configure VLs.

The VL Configuration dialog box opens. This dialog box changes with

the exerciser in use.

2 Select the virtual lanes of interest.

3 Select the option corresponding to the action that you want to apply to

incoming packets through the selected lane, and click Apply.