{
    "mode": "man",
    "parameter": "RDMA-RESOURCE",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/RDMA-RESOURCE/8/json",
    "generated": "2026-06-03T03:49:42Z",
    "synopsis": "rdma [ OPTIONS ] RESOURCE { COMMAND | help }\nRESOURCE := { cmid | cq | mr | pd | qp | ctx | srq }\nOPTIONS := { -j[son] | -d[etails] }\nrdma resource show [ DEV/PORTINDEX ]",
    "sections": {
        "NAME": {
            "content": "rdma-resource - rdma resource configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rdma [ OPTIONS ] RESOURCE { COMMAND | help }\n\n\nRESOURCE := { cmid | cq | mr | pd | qp | ctx | srq }\n\n\nOPTIONS := { -j[son] | -d[etails] }\n\nrdma resource show [ DEV/PORTINDEX ]\n",
            "subsections": [
                {
                    "name": "rdma resource help",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "rdma resource show - display rdma resource tracking information",
                    "content": "DEV/PORTINDEX - specifies the RDMA link to show.  If this argument is omitted all links are\nlisted.\n\n"
                }
            ]
        },
        "EXAMPLES": {
            "content": "rdma resource show\nShows summary for all devices on the system.\n\nrdma resource show mlx52\nShows the state of specified rdma device.\n\nrdma res show qp link mlx54\nGet all QPs for the specific device.\n\nrdma res show qp link mlx54/1\nGet QPs of specific port.\n\nrdma res show qp link mlx54/0\nProvide illegal port number (0 is illegal).\n\nrdma res show qp link mlx54/-\nGet QPs which have not assigned port yet.\n\nrdma res show qp link mlx54/- -d\nDetailed view.\n\nrdma res show qp link mlx54/- -dd\nDetailed view including driver-specific details.\n\nrdma res show qp link mlx54/1 lqpn 0-6\nLimit to specific Local QPNs.\n\nrdma res show qp link mlx54/1 lqpn 6 -r\nDriver specific details in raw format.\n\nrdma resource show cmid dst-port 7174\nShow CMIDs with destination ip port of 7174.\n\nrdma resource show cmid src-addr 172.16.0.100\nShow CMIDs bound to local ip address 172.16.0.100\n\nrdma resource show cq pid 30489\nShow CQs belonging to pid 30489\n\nrdma resource show ctx ctxn 1\nShow contexts that have index equal to 1.\n\nrdma resource show srq lqpn 5-7\nShow SRQs that the QPs with lqpn 5-7 are associated with.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rdma(8), rdma-dev(8), rdma-link(8), rdma-statistic(8),\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Leon Romanovsky <leonro@mellanox.com>\n\n\n\niproute2                                     26 Dec 2017                            RDMA-RESOURCE(8)",
            "subsections": []
        }
    },
    "summary": "rdma-resource - rdma resource configuration",
    "flags": [],
    "examples": [
        "rdma resource show",
        "Shows summary for all devices on the system.",
        "rdma resource show mlx52",
        "Shows the state of specified rdma device.",
        "rdma res show qp link mlx54",
        "Get all QPs for the specific device.",
        "rdma res show qp link mlx54/1",
        "Get QPs of specific port.",
        "rdma res show qp link mlx54/0",
        "Provide illegal port number (0 is illegal).",
        "rdma res show qp link mlx54/-",
        "Get QPs which have not assigned port yet.",
        "rdma res show qp link mlx54/- -d",
        "Detailed view.",
        "rdma res show qp link mlx54/- -dd",
        "Detailed view including driver-specific details.",
        "rdma res show qp link mlx54/1 lqpn 0-6",
        "Limit to specific Local QPNs.",
        "rdma res show qp link mlx54/1 lqpn 6 -r",
        "Driver specific details in raw format.",
        "rdma resource show cmid dst-port 7174",
        "Show CMIDs with destination ip port of 7174.",
        "rdma resource show cmid src-addr 172.16.0.100",
        "Show CMIDs bound to local ip address 172.16.0.100",
        "rdma resource show cq pid 30489",
        "Show CQs belonging to pid 30489",
        "rdma resource show ctx ctxn 1",
        "Show contexts that have index equal to 1.",
        "rdma resource show srq lqpn 5-7",
        "Show SRQs that the QPs with lqpn 5-7 are associated with."
    ],
    "see_also": [
        {
            "name": "rdma",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma/8/json"
        },
        {
            "name": "rdma-dev",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-dev/8/json"
        },
        {
            "name": "rdma-link",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-link/8/json"
        },
        {
            "name": "rdma-statistic",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-statistic/8/json"
        }
    ]
}