# devlink-resource(8) - man - phpman

[DEVLINK-RESOURCE(8)](https://www.chedong.com/phpMan.php/man/DEVLINK-RESOURCE/8/markdown)                             Linux                            [DEVLINK-RESOURCE(8)](https://www.chedong.com/phpMan.php/man/DEVLINK-RESOURCE/8/markdown)



## NAME
       devlink-resource - devlink device resource configuration

## SYNOPSIS
       **devlink** [ _OPTIONS_ ] **resource**  { _COMMAND_ | **help** }


       _OPTIONS_ := { **-v**[_erbose_] }

       **devlink** **resource** **show** _DEV_

### devlink resource help

       **devlink** **resource** **set** _DEV_ **path** _RESOURCE_PATH_ **size** _RESOURCE_SIZE_


## DESCRIPTION
### devlink resource show - display devlink device's resosources
       _DEV_ - specifies the devlink device to show.

           Format is:
             BUS_NAME/BUS_ADDRESS


### devlink resource set - sets resource size of specific resource
       _DEV_ - specifies the devlink device.


       **path** _RESOURCE_PATH_
              Resource's path.


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


## SEE ALSO
       [**devlink**(8)](https://www.chedong.com/phpMan.php/man/devlink/8/markdown), [**devlink-port**(8)](https://www.chedong.com/phpMan.php/man/devlink-port/8/markdown), [**devlink-sb**(8)](https://www.chedong.com/phpMan.php/man/devlink-sb/8/markdown), [**devlink-monitor**(8)](https://www.chedong.com/phpMan.php/man/devlink-monitor/8/markdown),


## AUTHOR
       Arkadi Sharshevsky <<arkadis@mellanox.com>>



iproute2                                     11 Feb 2018                         [DEVLINK-RESOURCE(8)](https://www.chedong.com/phpMan.php/man/DEVLINK-RESOURCE/8/markdown)
