User guide
G–Commands and Files
Summary and Descriptions of Commands
IB0054606-02 A G-7
resv2 0x0
resv3 0x0
Explanation of Sample Output:
This is a simple query, specifying the source and destination LIDs and the
desired SID. The first half of the output shows the full “query” that will be
sent to the Distributed SA. Unused fields are set to zero or are blank.
In the center, the line “Using HCA qib0” tells us that, because we did not
specify which HCA to query against, the tool chose one for us. (Normally, the
user will never have to specify which HCA to use. This is only relevant in the
case where a single node is connected to multiple physical IB fabrics.)
Finally, the bottom half of the output shows the result of the query. Note that,
if the query had failed (because the destination does not exist or because
the SID is not found in the Distributed SA) you will receive and error instead:
# iba_opp_query --slid 0x31 --dlid 0x75 --sid 0x108
Query Parameters:
resv1 0x0000000000000108
dgid ::
sgid ::
dlid 0x75
slid 0x31
hop 0x0
flow 0x0
tclass 0x0
num_path 0x0
pkey 0x0
qos_class 0x0
sl 0x0
mtu 0x0
rate 0x0
pkt_life 0x0
preference 0x0
resv2 0x0
resv3 0x0
Using HCA qib0
******
Error: Get Path returned 22 for query: Invalid argument
******