{"id":2736,"date":"2022-12-20T15:17:09","date_gmt":"2022-12-20T18:17:09","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/devlinkregion-man8\/"},"modified":"2022-12-20T15:17:09","modified_gmt":"2022-12-20T18:17:09","slug":"devlinkregion-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/devlinkregion-man8\/","title":{"rendered":"DEVLINK&minus;REGION (man8)"},"content":{"rendered":"<h1 align=\"center\">DEVLINK\u2212REGION<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">devlink-region \u2212 devlink address region access<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>devlink<\/b> [ <i>OPTIONS<\/i> ] <b>region<\/b> { <i>COMMAND<\/i> | <b>help<\/b> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>OPTIONS<\/i> := { <b>\u2212V<\/b>[<i>ersion<\/i>] | <b>\u2212n<\/b>[<i>no-nice-names<\/i>] }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>devlink region show<\/b> [ <i>DEV\/REGION<\/i> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>devlink region del<\/b> <i>DEV\/REGION<\/i> <b>snapshot<\/b> <i>SNAPSHOT_ID<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>devlink region dump<\/b> <i>DEV\/REGION<\/i> <b>snapshot<\/b> <i>SNAPSHOT_ID<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>devlink region read<\/b> <i>DEV\/REGION<\/i> <b>[ snapshot<\/b> <i>SNAPSHOT_ID<\/i> <b>] address<\/b> <i>ADDRESS<\/i> <b>length<\/b> <i>LENGTH<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>devlink region help<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>devlink region show &#8211; Show all supported address regions names, snapshots and sizes<\/b> <i><br \/> DEV\/REGION<\/i> &#8211; specifies the devlink device and address-region to query.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>devlink region del &#8211; Delete a snapshot specified by address-region name and snapshot ID<\/b> <i><br \/> DEV\/REGION<\/i> &#8211; specifies the devlink device and address-region to delete the snapshot from<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">snapshot <i>SNAPSHOT_ID<\/i> &#8211; specifies the snapshot ID to delete<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>devlink region dump &#8211; Dump all the available data from a region or from snapshot of a region<\/b> <i><br \/> DEV\/REGION<\/i> &#8211; specifies the device and address-region to dump from.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">snapshot <i>SNAPSHOT_ID<\/i> &#8211; specifies the snapshot-id of the region to dump.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>devlink region read &#8211; Read from a specific region address for a given length<\/b> <i><br \/> DEV\/REGION<\/i> &#8211; specifies the device and address-region to read from.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">snapshot <i>SNAPSHOT_ID<\/i> &#8211; specifies the snapshot-id of the region to read.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">address <i>ADDRESS<\/i> &#8211; specifies the address to read from.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">length <i>LENGTH<\/i> &#8211; specifies the length of data to read.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">devlink region show<\/p>\n<p style=\"margin-left:17%;\">List available address regions and snapshot.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">devlink region del pci\/0000:00:05.0\/cr-space snapshot 1<\/p>\n<p style=\"margin-left:17%;\">Delete snapshot id 1 from cr-space address region from device pci\/0000:00:05.0.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">devlink region dump pci\/0000:00:05.0\/cr-space snapshot 1<\/p>\n<p style=\"margin-left:17%;\">Dump the snapshot taken from cr-space address region with ID 1<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">devlink region read pci\/0000:00:05.0\/cr-space snapshot 1 address 0x10 legth 16<\/p>\n<p style=\"margin-left:17%;\">Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>devlink<\/b>(8), <b>devlink-dev<\/b>(8), <b>devlink-port<\/b>(8), <b>devlink-monitor<\/b>(8),<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Alex Vesker <valex@mellanox.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  devlink-region \u2212 devlink address region access <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,90,4],"class_list":["post-2736","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-devlink-region","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2736"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2736\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}