1DEVLINK-REGION(8)                    Linux                   DEVLINK-REGION(8)
2
3
4

NAME

6       devlink-region - devlink address region access
7

SYNOPSIS

9       devlink [ OPTIONS ] region  { COMMAND | help }
10
11
12       OPTIONS := { -V[ersion] | -n[no-nice-names] }
13
14       devlink region show [ DEV/REGION ]
15
16       devlink region del DEV/REGION snapshot SNAPSHOT_ID
17
18       devlink region dump DEV/REGION snapshot SNAPSHOT_ID
19
20       devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS
21               length LENGTH
22
23       devlink region help
24
25

DESCRIPTION

27   devlink region show - Show all supported address regions names, snapshots
28       and sizes
29       DEV/REGION - specifies the devlink device and address-region to query.
30
31
32   devlink region del - Delete a snapshot specified by address-region name and
33       snapshot ID
34       DEV/REGION - specifies the devlink device and address-region to delete
35       the snapshot from
36
37
38       snapshot SNAPSHOT_ID - specifies the snapshot ID to delete
39
40
41   devlink region dump - Dump all the available data from a region or from
42       snapshot of a region
43       DEV/REGION - specifies the device and address-region to dump from.
44
45
46       snapshot SNAPSHOT_ID - specifies the snapshot-id of the region to dump.
47
48
49   devlink region read - Read from a specific region address for a given
50       length
51       DEV/REGION - specifies the device and address-region to read from.
52
53
54       snapshot SNAPSHOT_ID - specifies the snapshot-id of the region to read.
55
56
57       address ADDRESS - specifies the address to read from.
58
59
60       length LENGTH - specifies the length of data to read.
61
62

EXAMPLES

64       devlink region show
65           List available address regions and snapshot.
66
67       devlink region del pci/0000:00:05.0/cr-space snapshot 1
68           Delete snapshot id 1 from cr-space address region from device
69           pci/0000:00:05.0.
70
71       devlink region dump pci/0000:00:05.0/cr-space snapshot 1
72           Dump the snapshot taken from cr-space address region with ID 1
73
74       devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10
75       length 16
76           Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-
77           space address region
78
79

SEE ALSO

81       devlink(8), devlink-dev(8), devlink-port(8), devlink-monitor(8),
82
83

AUTHOR

85       Alex Vesker <valex@mellanox.com>
86
87
88
89iproute2                          10 Jan 2018                DEVLINK-REGION(8)
Impressum