devlink: Add generic parameters region_snapshot
region_snapshot - When set enables capturing region snapshots Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
bedc989b0c
commit
f6a69885f2
@ -2671,6 +2671,11 @@ static const struct devlink_param devlink_param_generic[] = {
|
||||
.name = DEVLINK_PARAM_GENERIC_ENABLE_SRIOV_NAME,
|
||||
.type = DEVLINK_PARAM_GENERIC_ENABLE_SRIOV_TYPE,
|
||||
},
|
||||
{
|
||||
.id = DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT,
|
||||
.name = DEVLINK_PARAM_GENERIC_REGION_SNAPSHOT_NAME,
|
||||
.type = DEVLINK_PARAM_GENERIC_REGION_SNAPSHOT_TYPE,
|
||||
},
|
||||
};
|
||||
|
||||
static int devlink_param_generic_verify(const struct devlink_param *param)
|
||||
|
Reference in New Issue
Block a user