oparesolvehfiport
- Provided by: opa-basic-tools (Version: 10.10.3.0.11-1ubuntu3)
- Source: opa-ff
- Report a bug
oparesolvehfiport [-o output] [ hfi] [ port]
devname Prints the device name, in the format hfiname:portnum (Default).
hfinum Prints the hfi number.
Specifies the HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.
Specifies the port, numbered 1..n. Using 0 specifies the first active port. Default is 0.
0 0 First active port in system.
x 0 First active port on HFI x.
0 y Port y within system (no matter which ports are active).
x y HFI x, port y
oparesolvehfiport 0 1 #Output: hfi1_0:1
oparesolvehfiport -o devname 0 1 #Output: hfi1_0:1
oparesolvehfiport -o hfinum 0 1 #Output: 1