Lines Matching refs:snapshot
18 All snapshots with the same snapshot id within a devlink instance
27 Regions may optionally support capturing a snapshot on demand via the
29 requested snapshots must implement the ``.snapshot`` callback for the region
30 in its ``devlink_region_ops`` structure. If snapshot id is not set in
32 the snapshot information to user space.
35 snapshot. Direct read requests are not atomic. In particular a read request
37 access is required, use a snapshot. A driver wishing to enable this for a
40 ``DEVLINK_ATTR_REGION_DIRECT`` attribute instead of specifying a snapshot
50 $ devlink region del DEV/REGION snapshot SNAPSHOT_ID
51 $ devlink region dump DEV/REGION [ snapshot SNAPSHOT_ID ]
52 $ devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length length
56 pci/0000:00:05.0/cr-space: size 1048576 snapshot [1 2] max 8
57 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2] max 8
59 # Delete a snapshot using:
60 $ devlink region del pci/0000:00:05.0/cr-space snapshot 1
62 # Request an immediate snapshot, if supported by the region
64 pci/0000:00:05.0/cr-space: snapshot 5
66 # Dump a snapshot:
67 $ devlink region dump pci/0000:00:05.0/fw-health snapshot 1
73 # Read a specific part of a snapshot:
74 $ devlink region read pci/0000:00:05.0/fw-health snapshot 1 address 0 length 16
77 # Read from the region without a snapshot