DEVLINK-REGION(8)         (10 Jan 2018)         DEVLINK-REGION(8)

     NAME
          devlink-region - devlink address region access

     SYNOPSIS
          devlink [ OPTIONS ] region  { COMMAND | help }

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

          devlink region show [ DEV/REGION ]

          devlink region del  snapshot

          devlink region dump  snapshot

          devlink region read  [ snapshot  ] address  length

          devlink region help

     DESCRIPTION
        devlink region show - Show all
          DEV/REGION - specifies the devlink device and address-region
          to query.

        devlink region del - Delete a
          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
          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
          DEV/REGION - specifies the device and address-region to read
          from.

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

     Page 1                      iproute2            (printed 5/24/22)

     DEVLINK-REGION(8)         (10 Jan 2018)         DEVLINK-REGION(8)

          address ADDRESS - specifies the address to read from.

          length LENGTH - specifies the length of data to read.

     EXAMPLES
          devlink region show
              List available address regions and snapshot.

          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 legth 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>

     Page 2                      iproute2            (printed 5/24/22)