200 lines
3.4 KiB
HTML
200 lines
3.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of RDMA-RESOURCE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>RDMA-RESOURCE</H1>
|
|
Section: Linux (8)<BR>Updated: 26 Dec 2017<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
rdma-resource - rdma resource configuration
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
|
|
<BR>
|
|
|
|
<B>rdma</B>
|
|
|
|
[ <I>OPTIONS</I> ] <I>RESOURCE</I> { <I>COMMAND</I> |
|
|
|
|
<B>help</B> }
|
|
|
|
<P>
|
|
<P>
|
|
<BR>
|
|
|
|
<I>RESOURCE</I> := {
|
|
|
|
<B>cm_id</B> | <B>cq</B> | <B>mr</B> | <B>pd</B> | <B>qp</B> }
|
|
|
|
<P>
|
|
<P>
|
|
<BR>
|
|
|
|
<I>OPTIONS</I> := {
|
|
|
|
<B>-j</B>[<I>son</I>] |
|
|
<B>-d</B>[<I>etails</I>] }
|
|
<P>
|
|
<BR>
|
|
|
|
<B>rdma resource show</B>
|
|
|
|
[ <I>DEV/PORT_INDEX</I> ]
|
|
|
|
<P>
|
|
<BR>
|
|
|
|
<B>rdma resource help</B>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H3>rdma resource show - display rdma resource tracking information</H3>
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<I>DEV/PORT_INDEX</I>
|
|
|
|
- specifies the RDMA link to show.
|
|
If this argument is omitted all links are listed.
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
|
|
rdma resource show
|
|
<DL COMPACT><DT id="1"><DD>
|
|
Shows summary for all devices on the system.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma resource show mlx5_2
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Shows the state of specified rdma device.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Get all QPs for the specific device.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4/1
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Get QPs of specific port.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4/0
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Provide illegal port number (0 is illegal).
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4/-
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Get QPs which have not assigned port yet.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4/- -d
|
|
<DL COMPACT><DT id="7"><DD>
|
|
Detailed view.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4/- -dd
|
|
<DL COMPACT><DT id="8"><DD>
|
|
Detailed view including driver-specific details.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma res show qp link mlx5_4/1 lqpn 0-6
|
|
<DL COMPACT><DT id="9"><DD>
|
|
Limit to specific Local QPNs.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma resource show cm_id dst-port 7174
|
|
<DL COMPACT><DT id="10"><DD>
|
|
Show CM_IDs with destination ip port of 7174.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma resource show cm_id src-addr 172.16.0.100
|
|
<DL COMPACT><DT id="11"><DD>
|
|
Show CM_IDs bound to local ip address 172.16.0.100
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
rdma resource show cq pid 30489
|
|
<DL COMPACT><DT id="12"><DD>
|
|
Show CQs belonging to pid 30489
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+rdma">rdma</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+rdma-dev">rdma-dev</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+rdma-link">rdma-link</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+rdma-statistic">rdma-statistic</A></B>(8),
|
|
|
|
<BR>
|
|
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Leon Romanovsky <<A HREF="mailto:leonro@mellanox.com">leonro@mellanox.com</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="13"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="14"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="15"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="16"><A HREF="#lbAE">rdma resource show - display rdma resource tracking information</A><DD>
|
|
</DL>
|
|
<DT id="17"><A HREF="#lbAF">EXAMPLES</A><DD>
|
|
<DT id="18"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="19"><A HREF="#lbAH">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:15 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|