diff options
| author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-01-28 07:30:21 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-01-30 01:13:08 -0500 |
| commit | f4601dee25d5fe8010023552b10879f3d62e45ce (patch) | |
| tree | 95673f02ed61aed1b223ca6b2c006c5b3885aa0e /include/uapi/linux/devlink.h | |
| parent | 39e6160e14bd011988e4f88fd3d3f1205c3b9776 (diff) | |
devlink: Add port param get command
Add port param get command which gets data per parameter.
It also has option to dump the parameters data per port.
v7->v8: Append "Acked-by: Jiri Pirko <jiri@mellanox.com>"
Cc: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index 6e52d3660654..448973beac9d 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h | |||
| @@ -89,6 +89,8 @@ enum devlink_command { | |||
| 89 | DEVLINK_CMD_REGION_DEL, | 89 | DEVLINK_CMD_REGION_DEL, |
| 90 | DEVLINK_CMD_REGION_READ, | 90 | DEVLINK_CMD_REGION_READ, |
| 91 | 91 | ||
| 92 | DEVLINK_CMD_PORT_PARAM_GET, /* can dump */ | ||
| 93 | |||
| 92 | /* add new commands above here */ | 94 | /* add new commands above here */ |
| 93 | __DEVLINK_CMD_MAX, | 95 | __DEVLINK_CMD_MAX, |
| 94 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 | 96 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 |
