devlink-region - Man Page

devlink address region access

Synopsis

devlink [ OPTIONS ] region { COMMAND | help }

OPTIONS := { -V[ersion] | -n[no-nice-names] }

devlink region show [ DEV/REGION ]

devlink region new DEV/REGION [ snapshot SNAPSHOT_ID ]

devlink region del DEV/REGION snapshot SNAPSHOT_ID

devlink region dump DEV/REGION snapshot SNAPSHOT_ID

devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length LENGTH

devlink region help

Description

Examples

devlink region show

List available address regions and snapshot.

devlink region new pci/0000:00:05.0/cr-space

Create a new snapshot from cr-space address region from device pci/0000:00:05.0.

devlink region del pci/0000:00:05.0/cr-space snapshot 1

Delete snapshot id 1 from cr-space address region from device pci/0000:00:05.0.

devlink region dump pci/0000:00:05.0/cr-space snapshot 1

Dump the snapshot taken from cr-space address region with ID 1

devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 length 16

Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region

See Also

devlink(8), devlink-dev(8), devlink-port(8), devlink-monitor(8),

Author

Alex Vesker <valex@mellanox.com>

Referenced By

devlink(8), devlink-health(8).

10 Jan 2018 iproute2 Linux