Name
opainfo — Provides summary information for local SuperNIC port(s).
Syntax
opainfo [-h hfi] [-p port] [-o type] [-g] [-d detail] [-s pm_sl] [-v [-v]...]
Options
--helpProduces full help text.
-hhfiSpecifies the SuperNIC, numbered 1..n. Using 0 specifies that the
-pport is a system-wide port number. Default is 0.port-pportSpecifies the port, numbered 1 to n. Using 0 specifies the first active port across all SuperNICs/ports. Default is 1, which indicates all ports. If selected, the tool returns information on all available ports if
pis not defined.-otypeSpecifies the output type and can appear more than once.
Note
Behavior without -o gives a brief summary of portinfo, counters, and cableinfo.
infoOutputs detailed portinfo.
statsOutputs detailed port counters.
-gOutput is displayed in line-by-line format. Default is summary format.
-ddetailOutput detail level. Range is 0 - 2. CableInfo only. Default is 0.
Note
-d option is ignored when used with -o type.
- 0
Minimal crucial information (for example, cable length, vendor)
- 1
Brief summary
- 2
Extended brief summary
-spm_slSpecifies different Service Level for PMA traffic.
-h and -p options permit a variety of selections:
-h 0First active port in the system (Default).
-h 0 -p 0First active port in the system.
-hxFirst active port on SuperNIC
x.-hx-p 0First active port on SuperNIC
x.-h 0 -pyPort
ywithin the system (no matter which ports are active).-hx-pySuperNIC
x, porty.
Debug Options
-vSpecifies the verbose output. Additional invocations (–v –v ...) turn on debugging,
openibdebugging, andlibibumaddebugging.
Example
opainfo hfi1_0:1 PortGID:0xfe80000000000000:001175010165b19c PortState: Active LinkSpeed Act: 25Gb En: 25Gb LinkWidth Act: 4 En: 4 LinkWidthDnGrd ActTx: 4 Rx: 4 En: 3,4 LCRC Act: 14-bit En: 14-bit,16-bit,48-bit Mgmt: True LID: 0x00000001-0x00000001 SM LID: 0x00000002 SL: 0 QSFP: PassiveCu, 1m FCI Electronics P/N 10131941-2010LF Rev 5 Xmit Data: 22581581 MB Pkts: 5100825193 Recv Data: 18725619 MB Pkts: 4024569756 Link Quality: 5 (Excellent)