1IBCCQUERY(8) OpenIB Diagnostics IBCCQUERY(8)
2
3
4
6 IBCCQUERY - query congestion control settings/info
7
9 ibccquery [common_options] [-c cckey] <op> <lid|guid> [port]
10
12 ibccquery support the querying of settings and other information
13 related to congestion control.
14
16 Current supported operations and their parameters:
17 CongestionInfo (CI) <addr> CongestionKeyInfo (CK) <addr> Conges‐
18 tionLog (CL) <addr> SwitchCongestionSetting (SS) <addr> Switch‐
19 PortCongestionSetting (SP) <addr> [<portnum>] CACongestionSet‐
20 ting (CS) <addr> CongestionControlTable (CT) <addr> Timestamp
21 (TI) <addr>
22
23 --cckey, -c <cckey> Specify a congestion control (CC) key. If none is
24 specified, a key of 0 is used.
25
26 Debugging flags
27 -d raise the IB debugging level. May be used several times (-ddd
28 or -d -d -d).
29
30 -e show send and receive errors (timeouts and others)
31
32 -h, --help show the usage message
33
34 -v, --verbose
35 increase the application verbosity level. May be used several
36 times (-vv or -v -v -v)
37
38 -V, --version show the version info.
39
40 Addressing Flags
41 -G, --Guid The address specified is a Port GUID
42
43 -L, --Lid The address specified is a LID
44
45 -s, --sm_port <smlid> use 'smlid' as the target lid for SA queries.
46
47 Port Selection flags
48 -C, --Ca <ca_name> use the specified ca_name.
49
50 -P, --Port <ca_port> use the specified ca_port.
51
52 Local port Selection
53 Multiple port/Multiple CA support: when no IB device or port is speci‐
54 fied (see the "local umad parameters" below), the libibumad library
55 selects the port to use by the following criteria:
56
57 1. the first port that is ACTIVE.
58
59 2. if not found, the first port that is UP (physical link up).
60
61 If a port and/or CA name is specified, the libibumad library
62 attempts to fulfill the user request, and will fail if it is not
63 possible.
64
65 For example:
66
67 ibaddr # use the first port (criteria #1 above)
68 ibaddr -C mthca1 # pick the best port from "mthca1" only.
69 ibaddr -P 2 # use the second (active/up) port from the first available IB device.
70 ibaddr -C mthca0 -P 2 # use the specified port only.
71
72 Configuration flags
73 -y, --m_key <key>
74 use the specified M_key for requests. If non-numeric value (like
75 'x') is specified then a value will be prompted for.
76
77 --config, -z <config_file> Specify alternate config file.
78 Default: /etc/infiniband-diags/ibdiag.conf
79
81 CONFIG FILE
82 /etc/infiniband-diags/ibdiag.conf
83
84 A global config file is provided to set some of the common options for
85 all tools. See supplied config file for details.
86
88 ibccquery CongestionInfo 3 # Congestion Info by lid
89 ibccquery SwitchPortCongestionSetting 3 # Query all Switch Port Congestion Settings
90 ibccquery SwitchPortCongestionSetting 3 1 # Query Switch Port Congestion Setting for port 1
91
93 Albert Chu
94 < chu11@llnl.gov >
95
96
97
98
99 IBCCQUERY(8)