-x,--extended
show extended port counters rather than (basic) port counters. Note that extended port counters
attribute is optional.
-X,--xmtsl
show transmit data SL counter. This is an optional counter for QoS.
-S,--rcvsl
show receive data SL counter. This is an optional counter for QoS.
-D,--xmtdisc
show transmit discard details. This is an optional counter.
-E,--rcverr
show receive error details. This is an optional counter.
-D,--xmtdisc
show transmit discard details. This is an optional counter.
-T,--extended_speeds
show extended speeds port counters. This is an optional counter.
--oprcvcounters
show Rcv Counters per Op code. This is an optional counter.
--flowctlcounters
show flow control counters. This is an optional counter.
--vloppackets
show packets received per Op code per VL. This is an optional counter.
--vlopdata
show data received per Op code per VL. This is an optional counter.
--vlxmitflowctlerrors
show flow control update errors per VL. This is an optional counter.
--vlxmitcounters
show ticks waiting to transmit counters per VL. This is an optional counter.
--swportvlcong
show sw port VL congestion. This is an optional counter.
--rcvcc
show Rcv congestion control counters. This is an optional counter.
--slrcvfecn
show SL Rcv FECN counters. This is an optional counter.
--slrcvbecn
show SL Rcv BECN counters. This is an optional counter.
--xmitcc
show Xmit congestion control counters. This is an optional counter.
--vlxmittimecc
show VL Xmit Time congestion control counters. This is an optional counter.
-c,--smplctl
show port samples control.
-a,--all_ports
show aggregated counters for all ports of the destination lid, reset all counters for all ports,
or if multiple ports are specified, aggregate the counters of the specified ports. If the
destination lid does not support the AllPortSelect flag, all ports will be iterated through to
emulate AllPortSelect behavior.
-l,--loop_ports
If all ports are selected by the user (either through the -a option or port 255) or multiple ports
are specified iterate through each port rather than doing than aggregate operation.
-r,--reset_after_read
reset counters after read
-R,--Reset_only
only reset counters
AddressingFlags-G,--Guid The address specified is a Port GUID
-L,--Lid The address specified is a LID
-s,--sm_port<smlid> use 'smlid' as the target lid for SA queries.
PortSelectionflags-C,--Ca<ca_name> use the specified ca_name.
-P,--Port<ca_port> use the specified ca_port.
LocalportSelection
Multiple port/Multiple CA support: when no IB device or port is specified (see the "local umad
parameters" below), the libibumad library selects the port to use by the following criteria:
1. the first port that is ACTIVE.
2. if not found, the first port that is UP (physical link up).
If a port and/or CA name is specified, the libibumad library attempts to fulfill the user request, and
will fail if it is not possible.
For example:
ibaddr # use the first port (criteria #1 above)
ibaddr -C mthca1 # pick the best port from "mthca1" only.
ibaddr -P 2 # use the second (active/up) port from the first available IB device.
ibaddr -C mthca0 -P 2 # use the specified port only.
Debuggingflags-d raise the IB debugging level. May be used several times (-ddd or -d -d -d).
-e show send and receive errors (timeouts and others)
-h,--help show the usage message
-v,--verbose
increase the application verbosity level. May be used several times (-vv or -v -v -v)
-V,--version show the version info.
Configurationflags-t,--timeout<timeout_ms> override the default timeout for the solicited mads.
-y,--m_key<key>
use the specified M_key for requests. If non-numeric value (like 'x') is specified then a value
will be prompted for.
--config,-z<config_file> Specify alternate config file.
Default: /etc/infiniband-diags/ibdiag.conf