diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2018-07-04 14:30:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-05 19:58:35 +0900 |
commit | e3b7ca18ad7b2f47ebd3b6e6ce58a42c6ec24746 (patch) | |
tree | c7c71c7baef0f531561d190862a1cd2f9be68c42 /include/uapi/linux/devlink.h | |
parent | 45f05def5c44c806f094709f1c9b03dcecdd54f0 (diff) | |
download | linux-stable-e3b7ca18ad7b2f47ebd3b6e6ce58a42c6ec24746.tar.gz linux-stable-e3b7ca18ad7b2f47ebd3b6e6ce58a42c6ec24746.tar.bz2 linux-stable-e3b7ca18ad7b2f47ebd3b6e6ce58a42c6ec24746.zip |
devlink: Add param set command
Add param set command to set value for a parameter.
Value can be set to any of the supported configuration modes.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index 2ccfe84176bf..ea0623e568f0 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -79,6 +79,7 @@ enum devlink_command { DEVLINK_CMD_RELOAD, DEVLINK_CMD_PARAM_GET, /* can dump */ + DEVLINK_CMD_PARAM_SET, /* add new commands above here */ __DEVLINK_CMD_MAX, |