OSDN Git Service

devlink: Add support for region snapshot delete command
authorAlex Vesker <valex@mellanox.com>
Thu, 12 Jul 2018 12:13:13 +0000 (15:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:37:13 +0000 (17:37 -0700)
commit866319bb9437614407ca36f8b16f89ab77a6a831
tree5198a6aba0590c905c867b89c6e89e46c76ac8f9
parenta006d467fbf1d405e73cd167829d7a9e3df600e3
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>
include/uapi/linux/devlink.h
net/core/devlink.c