Operationalvlwrite, Performancectrmaskread – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 52

Classes of the C++ Interface
Methods of the IGCGenerator Class
2-30
CATC IBTrainer InfiniBand Exerciser API Reference
OperationalVLWrite
void OperationalVLWrite (IN ig_int16 allVLState);
Enables the virtual lanes on the IB
Trainer
.
None
Each bit of the return value represents the enable bit of the
corresponding VL. Bit0 holds the enable bit for VL0 and so forth. Set to 1
the virtual lane is enabled.
PerformanceCtrMaskRead
ig_int16 PerformanceCtrMaskRead(IN ig_bool direction, IN ig_int8
ctrNum);
Reads out the virtual lanes on which a performance counter counts.
The performance measurement must not run when using this
command.
The mask is returned. The LSB represents VL0 and the MSB
represents VL15. Is a bit set to ‘1’ then the packets on the virtual lane
are included in the count.
direction
(indicates if this is the mask for virtual lanes for the outgoing (Xmit) or
incoming (Rcve) packets)
- Xmit
- Rcve
ctrNum
- PerfCtr1
- PerfCtr2
Call
Description
Return Value
Input Parameters
See also
Call
Description
Return Value
Input Parameters