1 .TH DEVLINK\-HEALTH 8 "20 Feb 2019" "iproute2" "Linux"
3 devlink-health \- devlink health reporting and recovery
12 .RI " { " COMMAND " | "
18 \fB\-V\fR[\fIersion\fR] }
21 .BR "devlink health show"
27 .BR "devlink health recover"
33 .BR "devlink health diagnose"
39 .BR "devlink health dump show"
45 .BR "devlink health dump clear"
51 .BR "devlink health set"
56 .B grace_period | auto_recover
63 .B devlink health help
66 .SS devlink health show - Show status and configuration on all supported reporters on all devlink devices.
70 - specifies the devlink device.
74 - specifies the reporter's name registered on the devlink device.
76 .SS devlink health recover - Initiate a recovery operation on a reporter.
77 This action performs a recovery and increases the recoveries counter on success.
81 - specifies the devlink device.
85 - specifies the reporter's name registered on the devlink device.
87 .SS devlink health diagnose - Retrieve diagnostics data on a reporter.
91 - specifies the devlink device.
95 - specifies the reporter's name registered on the devlink device.
97 .SS devlink health dump show - Display the last saved dump.
101 devlink health saves a single dump per reporter. If an dump is
103 not already stored by the Devlink, this command will generate a new
105 dump. The dump can be generated either automatically when a
107 reporter reports on an error or manually at the user's request.
112 - specifies the devlink device.
116 - specifies the reporter's name registered on the devlink device.
118 .SS devlink health dump clear - Delete the saved dump.
119 Deleting the saved dump enables a generation of a new dump on
122 the next "devlink health dump show" command.
127 - specifies the devlink device.
131 - specifies the reporter's name registered on the devlink device.
133 .SS devlink health set - Enable the user to configure:
135 1) grace_period [msec] - Time interval between consecutive auto recoveries.
137 2) auto_recover [true/false] - Indicates whether the devlink should execute automatic recover on error.
139 Please note that this command is not supported on a reporter which
140 doesn't support a recovery method.
145 - specifies the devlink device.
149 - specifies the reporter's name registered on the devlink device.
155 List status and configuration of available reporters on devices.
158 devlink health recover pci/0000:00:09.0 reporter tx
160 Initiate recovery on tx reporter registered on pci/0000:00:09.0.
163 devlink health diagnose pci/0000:00:09.0 reporter tx
165 List diagnostics data on the specified device and reporter.
168 devlink health dump show pci/0000:00:09.0 reporter tx
170 Display the last saved dump on the specified device and reporter.
173 devlink health dump clear pci/0000:00:09.0 reporter tx
175 Delete saved dump on the specified device and reporter.
178 devlink health set pci/0000:00:09.0 reporter tx grace_period 3500
180 Set time interval between auto recoveries to minimum of 3500 msec on
181 the specified device and reporter.
184 devlink health set pci/0000:00:09.0 reporter tx auto_recover false
186 Turn off auto recovery on the specified device and reporter.
191 .BR devlink-port (8),
192 .BR devlink-param (8),
193 .BR devlink-region (8),
197 Aya Levin <ayal@mellanox.com>