User Manual

Table Of Contents
WinOF VPI for Windows User Manual Rev 4.3
Mellanox Technologies
52
7.3.2.3 ibdiagnet Error Codes
7.3.3 ibportstate
Enables querying the logical (link) and physical port states of an InfiniBand port. It also allows
adjusting the link speed that is enabled on any InfiniBand port.
If the queried port is a swich port, then ibportstate can be used to
disable, enable or reset the port
validate the port’s link width and speed against the peer port
7.3.3.1 ibportstate Applicable Hardware
All InfiniBand devices.
7.3.3.2 ibportstate Synopsis
7.3.3.3 ibportstate Options
The table below lists the various flags of the command.
1 - Failed to fully discover the fabric
2 - Failed to parse command line options
3 - Failed to intract with IB fabric
4 - Failed to use local device or local port
5 - Failed to use Topology File
6 - Failed to load requierd Package
ibportstate [-d] [-e] [-v] [-V] [-D] [-L] [-G] [-s <smlid>] \ [-C
<ca_name>] [-P <ca_port>] [-u] [-t <timeout_ms>] \ [<dest
dr_path|lid|guid>] <portnum> [<op> [<value>]]
Table 6 - ibportstate Flags and Options
Flag Description
-h/--help Print the help menu
-d/--debug Raise the IB debug level. May be used several times for higher debug lev-
els (-ddd or -d -d -d)
-e/--errors Show send and receive errors (timeouts and others)
-v/--verbose Increase verbosity level. May be used several times for additional verbos-
ity (-vvv or -v -v -v)
-V/--version Show version info
-D/--Direct Use directed path address arguments. The path is a comma separated list
of out ports.
Examples:
‘0’ – self port
‘0,1,2,1,4’ – out via port 1, then 2, ...
-L/--Lid Use Lid address argument