man-pages/man8/devlink-region.8.html
2021-03-31 01:06:50 +01:00

250 lines
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DEVLINK-REGION</TITLE>
</HEAD><BODY>
<H1>DEVLINK-REGION</H1>
Section: Linux (8)<BR>Updated: 10 Jan 2018<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
devlink-region - devlink address region access
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<BR>
<B>devlink</B>
[ <I>OPTIONS</I> ]
<B>region</B>
{ <I>COMMAND</I> |
<B>help</B> }
<P>
<P>
<BR>
<I>OPTIONS</I> := {
<B>-V</B>[<I>ersion</I>] |
<B>-n</B>[<I>no-nice-names</I>] }
<P>
<BR>
<B>devlink region show</B>
[ <I>DEV/REGION</I> ]
<P>
<BR>
<B>devlink region del</B>
<I>DEV/REGION</I>
<B>snapshot</B>
<I>SNAPSHOT_ID</I>
<P>
<BR>
<B>devlink region dump</B>
<I>DEV/REGION</I>
<B>snapshot</B>
<I>SNAPSHOT_ID</I>
<P>
<BR>
<B>devlink region read</B>
<I>DEV/REGION</I>
<B>[ </B>
<B>snapshot</B>
<I>SNAPSHOT_ID</I>
<B>]</B>
<B>address</B>
<I>ADDRESS</I>
<B>length</B>
<I>LENGTH</I>
<P>
<BR>
<B>devlink region help</B>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<A NAME="lbAE">&nbsp;</A>
<H3>devlink region show - Show all supported address regions names, snapshots and sizes</H3>
<P>
<P>
<I>DEV/REGION</I>
- specifies the devlink device and address-region to query.
<P>
<A NAME="lbAF">&nbsp;</A>
<H3>devlink region del - Delete a snapshot specified by address-region name and snapshot ID</H3>
<P>
<P>
<I>DEV/REGION</I>
- specifies the devlink device and address-region to delete the snapshot from
<P>
<P>
snapshot
<I>SNAPSHOT_ID</I>
- specifies the snapshot ID to delete
<P>
<A NAME="lbAG">&nbsp;</A>
<H3>devlink region dump - Dump all the available data from a region or from snapshot of a region</H3>
<P>
<P>
<I>DEV/REGION</I>
- specifies the device and address-region to dump from.
<P>
<P>
snapshot
<I>SNAPSHOT_ID</I>
- specifies the snapshot-id of the region to dump.
<P>
<A NAME="lbAH">&nbsp;</A>
<H3>devlink region read - Read from a specific region address for a given length</H3>
<P>
<P>
<I>DEV/REGION</I>
- specifies the device and address-region to read from.
<P>
<P>
snapshot
<I>SNAPSHOT_ID</I>
- specifies the snapshot-id of the region to read.
<P>
<P>
address
<I>ADDRESS</I>
- specifies the address to read from.
<P>
<P>
length
<I>LENGTH</I>
- specifies the length of data to read.
<P>
<A NAME="lbAI">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
devlink region show
<DL COMPACT><DT id="1"><DD>
List available address regions and snapshot.
</DL>
<P>
devlink region del pci/0000:00:05.0/cr-space snapshot 1
<DL COMPACT><DT id="2"><DD>
Delete snapshot id 1 from cr-space address region from device pci/0000:00:05.0.
</DL>
<P>
devlink region dump pci/0000:00:05.0/cr-space snapshot 1
<DL COMPACT><DT id="3"><DD>
Dump the snapshot taken from cr-space address region with ID 1
</DL>
<P>
devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 legth 16
<DL COMPACT><DT id="4"><DD>
Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region
</DL>
<P>
<A NAME="lbAJ">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+devlink">devlink</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+devlink-dev">devlink-dev</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+devlink-port">devlink-port</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+devlink-monitor">devlink-monitor</A></B>(8),
<BR>
<P>
<A NAME="lbAK">&nbsp;</A>
<H2>AUTHOR</H2>
Alex Vesker &lt;<A HREF="mailto:valex@mellanox.com">valex@mellanox.com</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DL>
<DT id="8"><A HREF="#lbAE">devlink region show - Show all supported address regions names, snapshots and sizes</A><DD>
<DT id="9"><A HREF="#lbAF">devlink region del - Delete a snapshot specified by address-region name and snapshot ID</A><DD>
<DT id="10"><A HREF="#lbAG">devlink region dump - Dump all the available data from a region or from snapshot of a region</A><DD>
<DT id="11"><A HREF="#lbAH">devlink region read - Read from a specific region address for a given length</A><DD>
</DL>
<DT id="12"><A HREF="#lbAI">EXAMPLES</A><DD>
<DT id="13"><A HREF="#lbAJ">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAK">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:11 GMT, March 31, 2021
</BODY>
</HTML>