{
    "mode": "man",
    "parameter": "devlink-resource",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/devlink-resource/8/json",
    "generated": "2026-06-03T02:31:39Z",
    "synopsis": "devlink [ OPTIONS ] resource  { COMMAND | help }\nOPTIONS := { -v[erbose] }\ndevlink resource show DEV",
    "sections": {
        "NAME": {
            "content": "devlink-resource - devlink device resource configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "devlink [ OPTIONS ] resource  { COMMAND | help }\n\n\nOPTIONS := { -v[erbose] }\n\ndevlink resource show DEV\n",
            "subsections": [
                {
                    "name": "devlink resource help",
                    "content": "devlink resource set DEV path RESOURCEPATH size RESOURCESIZE\n\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "devlink resource show - display devlink device's resosources",
                    "content": "DEV - specifies the devlink device to show.\n\nFormat is:\nBUSNAME/BUSADDRESS\n\n"
                },
                {
                    "name": "devlink resource set - sets resource size of specific resource",
                    "content": "DEV - specifies the devlink device.\n\n\npath RESOURCEPATH\nResource's path.\n\n\nsize RESOURCESIZE\nThe new resource's size.\n\n"
                }
            ]
        },
        "EXAMPLES": {
            "content": "devlink resource show pci/0000:01:00.0\nShows the resources of the specified devlink device.\n\ndevlink resource set pci/0000:01:00.0 /kvd/linear 98304\nSets the size of the specified resource for the specified devlink device.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "devlink(8), devlink-port(8), devlink-sb(8), devlink-monitor(8),\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Arkadi Sharshevsky <arkadis@mellanox.com>\n\n\n\niproute2                                     11 Feb 2018                         DEVLINK-RESOURCE(8)",
            "subsections": []
        }
    },
    "summary": "devlink-resource - devlink device resource configuration",
    "flags": [],
    "examples": [
        "devlink resource show pci/0000:01:00.0",
        "Shows the resources of the specified devlink device.",
        "devlink resource set pci/0000:01:00.0 /kvd/linear 98304",
        "Sets the size of the specified resource for the specified devlink device."
    ],
    "see_also": [
        {
            "name": "devlink",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink/8/json"
        },
        {
            "name": "devlink-port",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink-port/8/json"
        },
        {
            "name": "devlink-sb",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink-sb/8/json"
        },
        {
            "name": "devlink-monitor",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink-monitor/8/json"
        }
    ]
}