devlink-region(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON

DEVLINK-REGION(8)                 Linux                DEVLINK-REGION(8)

NAME         top

       devlink-region - devlink address region access

SYNOPSIS         top

       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         top

   devlink region show - Show all supported address regions names,
       snapshots and sizes
       DEV/REGION - specifies the devlink device and address-region to
       query.

   devlink region new - Create a snapshot specified by address-region
       name and snapshot ID
       DEV/REGION - specifies the devlink device and address-region to
       snapshot

       snapshot SNAPSHOT_ID - optionally specifies the snapshot ID to
       assign. If not specified, devlink will assign a unique ID to the
       snapshot.

   devlink region del - Delete a snapshot specified by address-region
       name and snapshot ID
       DEV/REGION - specifies the devlink device and address-region to
       delete the snapshot from

       snapshot SNAPSHOT_ID - specifies the snapshot ID to delete

   devlink region dump - Dump all the available data from a region or
       from snapshot of a region
       DEV/REGION - specifies the device and address-region to dump
       from.

       snapshot SNAPSHOT_ID - specifies the snapshot-id of the region to
       dump.

   devlink region read - Read from a specific region address for a given
       length
       DEV/REGION - specifies the device and address-region to read
       from.

       snapshot SNAPSHOT_ID - specifies the snapshot-id of the region to
       read.

       address ADDRESS - specifies the address to read from.

       length LENGTH - specifies the length of data to read.

EXAMPLES         top

       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         top

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

AUTHOR         top

       Alex Vesker <valex@mellanox.com>

COLOPHON         top

       This page is part of the iproute2 (utilities for controlling
       TCP/IP networking and traffic) project.  Information about the
       project can be found at 
       ⟨http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2⟩.
       If you have a bug report for this manual page, send it to
       netdev@vger.kernel.org, shemminger@osdl.org.  This page was
       obtained from the project's upstream Git repository
       ⟨https://git.kernel.org/pub/scm/network/iproute2/iproute2.git⟩ on
       2024-06-14.  (At that time, the date of the most recent commit
       that was found in the repository was 2024-06-11.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

iproute2                       10 Jan 2018             DEVLINK-REGION(8)

Pages that refer to this page: devlink(8)devlink-health(8)