{
    "content": [
        {
            "type": "text",
            "text": "# devlink-resource(8) (man)\n\n**Summary:** devlink-resource - devlink device resource configuration\n\n**Synopsis:** devlink [ OPTIONS ] resource  { COMMAND | help }\nOPTIONS := { -v[erbose] }\ndevlink resource show DEV\n\n## Examples\n\n- `devlink resource show pci/0000:01:00.0`\n- `Shows the resources of the specified devlink device.`\n- `devlink resource set pci/0000:01:00.0 /kvd/linear 98304`\n- `Sets the size of the specified resource for the specified devlink device.`\n\n## See Also\n\n- devlink(8)\n- devlink-port(8)\n- devlink-sb(8)\n- devlink-monitor(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (7 lines) — 1 subsections\n  - devlink resource help (3 lines)\n- **DESCRIPTION** (1 lines) — 2 subsections\n  - devlink resource show - display devlink device's resosources (6 lines)\n  - devlink resource set - sets resource size of specific resour (11 lines)\n- **EXAMPLES** (7 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\ndevlink-resource - devlink device resource configuration\n\n### SYNOPSIS\n\ndevlink [ OPTIONS ] resource  { COMMAND | help }\n\n\nOPTIONS := { -v[erbose] }\n\ndevlink resource show DEV\n\n#### devlink resource help\n\ndevlink resource set DEV path RESOURCEPATH size RESOURCESIZE\n\n### DESCRIPTION\n\n#### devlink resource show - display devlink device's resosources\n\nDEV - specifies the devlink device to show.\n\nFormat is:\nBUSNAME/BUSADDRESS\n\n#### devlink resource set - sets resource size of specific resource\n\nDEV - specifies the devlink device.\n\n\npath RESOURCEPATH\nResource's path.\n\n\nsize RESOURCESIZE\nThe new resource's size.\n\n### EXAMPLES\n\ndevlink 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### SEE ALSO\n\ndevlink(8), devlink-port(8), devlink-sb(8), devlink-monitor(8),\n\n### AUTHOR\n\nArkadi Sharshevsky <arkadis@mellanox.com>\n\n\n\niproute2                                     11 Feb 2018                         DEVLINK-RESOURCE(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "devlink-resource",
        "section": "8",
        "mode": "man",
        "summary": "devlink-resource - devlink device resource configuration",
        "synopsis": "devlink [ OPTIONS ] resource  { COMMAND | help }\nOPTIONS := { -v[erbose] }\ndevlink resource show DEV",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": [
                    {
                        "name": "devlink resource help",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 1,
                "subsections": [
                    {
                        "name": "devlink resource show - display devlink device's resosources",
                        "lines": 6
                    },
                    {
                        "name": "devlink resource set - sets resource size of specific resource",
                        "lines": 11
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}