]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: Extend the support querying for region snapshot IDs
authorAlex Vesker <valex@mellanox.com>
Thu, 12 Jul 2018 12:13:12 +0000 (15:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:37:13 +0000 (17:37 -0700)
commitcdb75ebc250410919ae5a7946ad377aaab61b635
tree02b24dbc19e3b21a06168ee451f07c0973ed8e82
parent576c990f68d354decde80d55bb95cb0c2b6ac0b7
devlink: Extend the support querying for region snapshot IDs

Extend the support for DEVLINK_CMD_REGION_GET command to also
return the IDs of the snapshot currently present on the region.
Each reply will include a nested snapshots attribute that
can contain multiple snapshot attributes each with an ID.

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