logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

devlink-resource - devlink device resource configuration

Author

       Arkadi Sharshevsky <arkadis@mellanox.com>

iproute2                                           11 Feb 2018                               DEVLINK-RESOURCE(8)

Description

devlinkresourceshow-displaydevlinkdevice'sresosourcesDEV - specifies the devlink device to show.

           Format is:
             BUS_NAME/BUS_ADDRESS

   devlinkresourceset-setsresourcesizeofspecificresourceDEV - specifies the devlink device.

       pathRESOURCE_PATH
              Resource's path.

       sizeRESOURCE_SIZE
              The new resource's size.

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 path /kvd/linear size 98304
           Sets the size of the specified resource for the specified devlink device.

Name

       devlink-resource - devlink device resource configuration

See Also

devlink(8), devlink-port(8), devlink-sb(8), devlink-monitor(8),

Synopsis

devlink [ OPTIONS ] resource  { COMMAND | help }

       OPTIONS := { -v[erbose] }

       devlinkresourceshowDEVdevlinkresourcehelpdevlinkresourcesetDEVpathRESOURCE_PATHsizeRESOURCE_SIZE

See Also