{"id":2747,"date":"2022-12-20T15:17:11","date_gmt":"2022-12-20T18:17:11","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/rdmaresource-man8\/"},"modified":"2022-12-20T15:17:11","modified_gmt":"2022-12-20T18:17:11","slug":"rdmaresource-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/rdmaresource-man8\/","title":{"rendered":"RDMA&minus;RESOURCE (man8)"},"content":{"rendered":"<h1 align=\"center\">RDMA\u2212RESOURCE<\/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\">rdma-resource \u2212 rdma resource configuration<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>rdma<\/b> [ <i>OPTIONS<\/i> ] <i>RESOURCE<\/i> { <i>COMMAND<\/i> | <b>help<\/b> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>RESOURCE<\/i> := { <b>cm_id<\/b> | <b>cq<\/b> | <b>mr<\/b> | <b>pd<\/b> | <b>qp<\/b> | <b>ctx<\/b> | <b>srq<\/b> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>OPTIONS<\/i> := { <b>\u2212j<\/b>[<i>son<\/i>] | <b>\u2212d<\/b>[<i>etails<\/i>] }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>rdma resource show<\/b> [ <i>DEV\/PORT_INDEX<\/i> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>rdma resource help<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rdma resource show &#8211; display rdma resource tracking information<\/b> <i><br \/> DEV\/PORT_INDEX<\/i> &#8211; specifies the RDMA link to show. If this argument is omitted all links are listed.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show<\/p>\n<p style=\"margin-left:17%;\">Shows summary for all devices on the system.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show mlx5_2<\/p>\n<p style=\"margin-left:17%;\">Shows the state of specified rdma device.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4<\/p>\n<p style=\"margin-left:17%;\">Get all QPs for the specific device.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/1<\/p>\n<p style=\"margin-left:17%;\">Get QPs of specific port.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/0<\/p>\n<p style=\"margin-left:17%;\">Provide illegal port number (0 is illegal).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/-<\/p>\n<p style=\"margin-left:17%;\">Get QPs which have not assigned port yet.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/- -d<\/p>\n<p style=\"margin-left:17%;\">Detailed view.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/- -dd<\/p>\n<p style=\"margin-left:17%;\">Detailed view including driver-specific details.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/1 lqpn 0-6<\/p>\n<p style=\"margin-left:17%;\">Limit to specific Local QPNs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma res show qp link mlx5_4\/1 lqpn 6 -r<\/p>\n<p style=\"margin-left:17%;\">Driver specific details in raw format.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show cm_id dst-port 7174<\/p>\n<p style=\"margin-left:17%;\">Show CM_IDs with destination ip port of 7174.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show cm_id src-addr 172.16.0.100<\/p>\n<p style=\"margin-left:17%;\">Show CM_IDs bound to local ip address 172.16.0.100<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show cq pid 30489<\/p>\n<p style=\"margin-left:17%;\">Show CQs belonging to pid 30489<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show ctx ctxn 1<\/p>\n<p style=\"margin-left:17%;\">Show contexts that have index equal to 1.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">rdma resource show srq lqpn 5-7<\/p>\n<p style=\"margin-left:17%;\">Show SRQs that the QPs with lqpn 5-7 are associated with.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rdma<\/b>(8), <b>rdma-dev<\/b>(8), <b>rdma-link<\/b>(8), <b>rdma-statistic<\/b>(8),<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Leon Romanovsky <leonro@mellanox.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  rdma-resource \u2212 rdma resource configuration <\/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,4,101],"class_list":["post-2747","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-rdma-resource"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2747","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=2747"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2747\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}