Vlresourcewrite – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 73

Advertising
background image

Methods of the IGCGenerator Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-51

VLResourceWrite

void VLResourceWrite ( IN ig_int8 VL, IN ig_int8 resource );

Defines the resource for each of the enabled virtual lanes.

None

VL

The virtual lane for which a resource is to be assigned.

resource

The following resources can be assigned:

• VLRES_BUFFER

Assigns the receive buffer

• VLRES_UPPERMEMORY

Assigns the upper half of the receive memory

• VLRES_LOWERMEMORY

Assigns the lower half of the receive memory

• VLRES_DISCARD

Enables a virtual lane but discards all incoming packets. This causes
the IB

Trainer

to act as data sink with “unlimited” receive memory.

VLResourceRead

above

Call

Description

Return Value

Input Parameters

See also

Advertising