Linkstatewrite, Linkpacketstatusread – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 50
![background image](/manuals/353544/50/background.png)
Classes of the C++ Interface
Methods of the IGCGenerator Class
2-28
CATC IBTrainer InfiniBand Exerciser API Reference
LinkStateWrite
void LinkStateWrite ( IN ig_int8 linkstate );
Sets the link state machine into one of the states listed in Input
Parameters
. This is normally performed by the Subnet Management
software but if this is not present in the InfiniBand network you may
need to do it manually.
None
linkstate
The values taken by linkstate are:
• LINKCMD_DOWN
The link state machine is down.
• LINKCMD_ARM
The link state machine is armed.
• LINKCMD_ACTIVE
The link state machine is active.
None
LinkPacketStatusRead
void LinkPacketStatusRead(OUT IGCLinkPacketStatus &status);
Reads out the result when monitoring link packets using
LinkPacketRecRun
and LinkPacketRecStop.
None
Instance of IGCLinkPacketStatus where result will be stored
LinkPacketRecRun
,
LinkPacketRecStop
Call
Description
Return Value
Input Parameters
See also
Call
Description
Return Value
Input Parameters
See also