commit | 3fe0fd531a35c229f8309c8b74ef0226de2626ab | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Thu Mar 26 11:37:17 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 26 19:39:26 2020 -0700 |
tree | e618e319a54a0fde459cc608e313faf046ff2c21 | |
parent | b9a17abfde842bb09f894ba96a5cd9f5944f6bfa [diff] |
netdevsim: support taking immediate snapshot via devlink Implement the .snapshot region operation for the dummy data region. This enables a region snapshot to be taken upon request via the new DEVLINK_CMD_REGION_SNAPSHOT command. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>