Blame man/man8/devlink-region.8

Packit Service 3880ab
.TH DEVLINK\-REGION 8 "10 Jan 2018" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
devlink-region \- devlink address region access
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.sp
Packit Service 3880ab
.ad l
Packit Service 3880ab
.in +8
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink
Packit Service 3880ab
.RI "[ " OPTIONS " ]"
Packit Service 3880ab
.B region
Packit Service 3880ab
.RI  " { " COMMAND " | "
Packit Service 3880ab
.BR help " }"
Packit Service 3880ab
.sp
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.IR OPTIONS " := { "
Packit Service 3880ab
\fB\-V\fR[\fIersion\fR] |
Packit Service 3880ab
\fB\-n\fR[\fIno-nice-names\fR] }
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink region show"
Packit Service 3880ab
.RI "[ " DEV/REGION " ]"
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink region del"
Packit Service 3880ab
.RI "" DEV/REGION ""
Packit Service 3880ab
.BR "snapshot"
Packit Service 3880ab
.RI "" SNAPSHOT_ID ""
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink region dump"
Packit Service 3880ab
.RI "" DEV/REGION ""
Packit Service 3880ab
.BR "snapshot"
Packit Service 3880ab
.RI "" SNAPSHOT_ID ""
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink region read"
Packit Service 3880ab
.RI "" DEV/REGION ""
Packit Service 3880ab
.BR "[ "
Packit Service 3880ab
.BR "snapshot"
Packit Service 3880ab
.RI "" SNAPSHOT_ID ""
Packit Service 3880ab
.BR "]"
Packit Service 3880ab
.BR "address"
Packit Service 3880ab
.RI "" ADDRESS "
Packit Service 3880ab
.BR "length"
Packit Service 3880ab
.RI "" LENGTH ""
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink region help
Packit Service 3880ab
Packit Service 3880ab
.SH "DESCRIPTION"
Packit Service 3880ab
.SS devlink region show - Show all supported address regions names, snapshots and sizes
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV/REGION"
Packit Service 3880ab
- specifies the devlink device and address-region to query.
Packit Service 3880ab
Packit Service 3880ab
.SS devlink region del - Delete a snapshot specified by address-region name and snapshot ID
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV/REGION"
Packit Service 3880ab
- specifies the devlink device and address-region to delete the snapshot from
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
snapshot
Packit Service 3880ab
.I "SNAPSHOT_ID"
Packit Service 3880ab
- specifies the snapshot ID to delete
Packit Service 3880ab
Packit Service 3880ab
.SS devlink region dump - Dump all the available data from a region or from snapshot of a region
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV/REGION"
Packit Service 3880ab
- specifies the device and address-region to dump from.
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
snapshot
Packit Service 3880ab
.I "SNAPSHOT_ID"
Packit Service 3880ab
- specifies the snapshot-id of the region to dump.
Packit Service 3880ab
Packit Service 3880ab
.SS devlink region read - Read from a specific region address for a given length
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV/REGION"
Packit Service 3880ab
- specifies the device and address-region to read from.
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
snapshot
Packit Service 3880ab
.I "SNAPSHOT_ID"
Packit Service 3880ab
- specifies the snapshot-id of the region to read.
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
address
Packit Service 3880ab
.I "ADDRESS"
Packit Service 3880ab
- specifies the address to read from.
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
length
Packit Service 3880ab
.I "LENGTH"
Packit Service 3880ab
- specifies the length of data to read.
Packit Service 3880ab
Packit Service 3880ab
.SH "EXAMPLES"
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink region show
Packit Service 3880ab
.RS 4
Packit Service 3880ab
List available address regions and snapshot.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink region del pci/0000:00:05.0/cr-space snapshot 1
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Delete snapshot id 1 from cr-space address region from device pci/0000:00:05.0.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink region dump pci/0000:00:05.0/cr-space snapshot 1
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Dump the snapshot taken from cr-space address region with ID 1
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 legth 16
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region
Packit Service 3880ab
.RE
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR devlink (8),
Packit Service 3880ab
.BR devlink-dev (8),
Packit Service 3880ab
.BR devlink-port (8),
Packit Service 3880ab
.BR devlink-monitor (8),
Packit Service 3880ab
.br
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
Alex Vesker <valex@mellanox.com>