diff options
| author | Aya Levin <ayal@mellanox.com> | 2019-02-21 07:12:01 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-21 13:38:51 -0500 |
| commit | 54719527fd06e80fce52b98537414035cd21e8d4 (patch) | |
| tree | 032ada78685b58689cf3d9de6db666a17026fe68 /include/uapi/linux/devlink.h | |
| parent | 9311defc1991eea31bc38899242603634092cdbd (diff) | |
devlink: Rename devlink health attributes
Rename devlink health attributes for better reflect the attributes use.
Add COUNT prefix on error counter attribute and recovery counter
attribute.
Fixes: 7afe335a8bed ("devlink: Add health get command")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/devlink.h')
| -rw-r--r-- | include/uapi/linux/devlink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index 53de8802a000..5bb4ea67d84f 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h | |||
| @@ -323,8 +323,8 @@ enum devlink_attr { | |||
| 323 | DEVLINK_ATTR_HEALTH_REPORTER, /* nested */ | 323 | DEVLINK_ATTR_HEALTH_REPORTER, /* nested */ |
| 324 | DEVLINK_ATTR_HEALTH_REPORTER_NAME, /* string */ | 324 | DEVLINK_ATTR_HEALTH_REPORTER_NAME, /* string */ |
| 325 | DEVLINK_ATTR_HEALTH_REPORTER_STATE, /* u8 */ | 325 | DEVLINK_ATTR_HEALTH_REPORTER_STATE, /* u8 */ |
| 326 | DEVLINK_ATTR_HEALTH_REPORTER_ERR, /* u64 */ | 326 | DEVLINK_ATTR_HEALTH_REPORTER_ERR_COUNT, /* u64 */ |
| 327 | DEVLINK_ATTR_HEALTH_REPORTER_RECOVER, /* u64 */ | 327 | DEVLINK_ATTR_HEALTH_REPORTER_RECOVER_COUNT, /* u64 */ |
| 328 | DEVLINK_ATTR_HEALTH_REPORTER_DUMP_TS, /* u64 */ | 328 | DEVLINK_ATTR_HEALTH_REPORTER_DUMP_TS, /* u64 */ |
| 329 | DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD, /* u64 */ | 329 | DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD, /* u64 */ |
| 330 | DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER, /* u8 */ | 330 | DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER, /* u8 */ |
