aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAlex Vesker <valex@mellanox.com>2018-07-12 15:13:13 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-12 17:37:13 -0700
commit866319bb9437614407ca36f8b16f89ab77a6a831 (patch)
tree5198a6aba0590c905c867b89c6e89e46c76ac8f9 /include/uapi
parentdevlink: Extend the support querying for region snapshot IDs (diff)
downloadlinux-dev-866319bb9437614407ca36f8b16f89ab77a6a831.tar.xz
linux-dev-866319bb9437614407ca36f8b16f89ab77a6a831.zip
devlink: Add support for region snapshot delete command
Add support for DEVLINK_CMD_REGION_DEL used for deleting a snapshot from a region. The snapshot ID is required. Also added notification support for NEW and DEL of snapshots. Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/devlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h
index abde4e306375..d212e02f843f 100644
--- a/include/uapi/linux/devlink.h
+++ b/include/uapi/linux/devlink.h
@@ -85,6 +85,8 @@ enum devlink_command {
DEVLINK_CMD_REGION_GET,
DEVLINK_CMD_REGION_SET,
+ DEVLINK_CMD_REGION_NEW,
+ DEVLINK_CMD_REGION_DEL,
/* add new commands above here */
__DEVLINK_CMD_MAX,