devlink-resource - Man Page

devlink device resource configuration

Synopsis

devlink [ OPTIONS ] resource { COMMAND | help }

OPTIONS := { -v[erbose] }

devlink resource show [ DEV[/PORT_INDEX] | scope { dev | port } ]

devlink resource help

devlink resource set DEV path RESOURCE_PATH size RESOURCE_SIZE

Description

Examples

devlink resource show

Shows resources for all devlink devices.

devlink resource show pci/0000:01:00.0

Shows the resources of the specified devlink device.

devlink resource show pci/0000:01:00.0/1

Shows port-level resources for port 1 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.

See Also

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

Author

Arkadi Sharshevsky <arkadis@mellanox.com>

Info

11 Feb 2018 iproute2 Linux