$manlookup

devlink-resource

(8)

devlink device resource configuration

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

DEV - specifies the devlink device to show.


Format is:
BUS_NAME/BUS_ADDRESS

DEV - specifies the devlink device.

Resource's path.

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.

AUTHOR

Arkadi Sharshevsky arkadis@mellanox.com

See also