Software Ver.2.0 Owner's manual
Methods of the IGCGenerator Class Classes of the C++ Interface
CATC IBTrainer InfiniBand Exerciser API Reference 2-29
LinkTrainingStateWrite
void LinkTrainingStateWrite ( IN ig_int8 linkstate );
You have to call this function to change the state of the link training
state machine from
disabled
to
sleep
. Without this call the generator
cannot begin establishing an InfiniBand link.
None
linkstate
The values taken by
linkstate
are:
• LINKTRAINCMD_DISABLED
The link training state machine is disabled.
• LINKTRAINCMD_SLEEP
The link training state machine is inactive (sleeps).
•
LINKTRAINCMD_POLL
The link training state machine is polling.
•
LINKTRAINCMD_INITIATEERRORRECOVERY
The link training state machine is in recovery
“Reset” on page 2-44
OperationalVLRead
ig_int16 OperationalVLRead (void);
Reads out the virtual lanes enabled on the IB
Trainer
.
Each bit of the return value represents the enable bit of the
corresponding virtual lane.
Bit0
holds the enable bit for
VL0
and so forth.
Set to 1 the virtual lane is enabled.
None
Call
Description
Return Value
Input Parameters
See also
Call
Description
Return Value
Input Parameters
See also