Patternoffsetwrite, Infiniband packet – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 58
Classes of the C++ Interface
Methods of the IGCGenerator Class
2-36
CATC IBTrainer InfiniBand Exerciser API Reference
PatternOffsetWrite
void PatternOffsetWrite ( IN ig_int8 pattern, IN ig_int32 offset );
Defines the offset within a packet where the pattern is applied. The 64
bit wide pattern compares with the content of the data packet at the
position determined by 'offset' as shown in the following figure:
Figure 6 Defining the Offset for Pattern Comparison
InfiniBand Packet
64 bit-wide pattern
Offset
Start of
Data
Pattern
None
pattern
Selects t
he pattern matcher for which the offset is to be defined. Values
taken by pattern can be:
• PATTERN_GENERIC
The offset for the Generic pattern matcher is to be defined.
• PATTERN_BUFFER
The offset for the MAD Buffer pattern matcher is to be defined.
• PATTERN_LOWERMEMORY
The offset for the Low Receive Pattern Memory pattern matcher is to
be defined.
• PATTERN_UPPERMEMORY
The offset for the High Receive Pattern Memory pattern matcher is to
be defined.
Call
Description
Return Value
Input Parameters