History

devlink: add 'reset_dev_on_drv_probe' param

Add the 'reset_dev_on_drv_probe' devlink parameter, controlling the device reset policy on driver probe. This parameter is useful in conjunction with the existing 'fw_load_policy' parameter.

Dirk van der Merwe committed 7 years ago

Commit 5bbd21d1 parent e019a3b4 files · +31 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/devlink.h+7−0
@@ -205,6 +205,13 @@ enum devlink_param_fw_load_policy_value { · 204 unmodified lines
205 DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DISK,205 DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DISK,
206};206};
207 207
208enum devlink_param_reset_dev_on_drv_probe_value {
209 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_UNKNOWN,
210 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_ALWAYS,
211 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_NEVER,
212 DEVLINK_PARAM_RESET_DEV_ON_DRV_PROBE_VALUE_DISK,
213};
214
208enum {215enum {
209 DEVLINK_ATTR_STATS_RX_PACKETS, /* u64 */216 DEVLINK_ATTR_STATS_RX_PACKETS, /* u64 */
210 DEVLINK_ATTR_STATS_RX_BYTES, /* u64 */217 DEVLINK_ATTR_STATS_RX_BYTES, /* u64 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t