DEVLINK-RESOURCE(8)                 Linux                DEVLINK-RESOURCE(8)

NAME         top

       devlink-resource - devlink device resource configuration

SYNOPSIS         top

       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         top

   devlink resource show - display devlink device's resosources
       DEV - specifies the devlink device to show.

           Format is:

   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         top

       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

SEE ALSO         top

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

AUTHOR         top

       Arkadi Sharshevsky <>

COLOPHON         top

       This page is part of the iproute2 (utilities for controlling TCP/IP
       networking and traffic) project.  Information about the project can
       be found at 
       If you have a bug report for this manual page, send it to,  This page was obtained
       from the project's upstream Git repository
       ⟨⟩ on
       2020-02-08.  (At that time, the date of the most recent commit that
       was found in the repository was 2020-01-29.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

iproute2                         11 Feb 2018             DEVLINK-RESOURCE(8)

Pages that refer to this page: devlink(8)