Blame man/man8/devlink-resource.8

Packit Service 3880ab
.TH DEVLINK\-RESOURCE 8 "11 Feb 2018" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
devlink-resource \- devlink device resource configuration
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.sp
Packit Service 3880ab
.ad l
Packit Service 3880ab
.in +8
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink
Packit Service 3880ab
.RI "[ " OPTIONS " ]"
Packit Service 3880ab
.B resource
Packit Service 3880ab
.RI  " { " COMMAND " | "
Packit Service 3880ab
.BR help " }"
Packit Service 3880ab
.sp
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.IR OPTIONS " := { "
Packit Service 3880ab
\fB\-v\fR[\fIerbose\fR] }
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink resource show
Packit Service 3880ab
.IR DEV
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink resource help
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink resource set"
Packit Service 3880ab
.IR DEV
Packit Service 3880ab
.BI path " RESOURCE_PATH"
Packit Service 3880ab
.BI size " RESOURCE_SIZE"
Packit Service 3880ab
Packit Service 3880ab
.SH "DESCRIPTION"
Packit Service 3880ab
.SS devlink resource show - display devlink device's resosources
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV"
Packit Service 3880ab
- specifies the devlink device to show.
Packit Service 3880ab
Packit Service 3880ab
.in +4
Packit Service 3880ab
Format is:
Packit Service 3880ab
.in +2
Packit Service 3880ab
BUS_NAME/BUS_ADDRESS
Packit Service 3880ab
Packit Service 3880ab
.SS devlink resource set - sets resource size of specific resource
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV"
Packit Service 3880ab
- specifies the devlink device.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BI path " RESOURCE_PATH"
Packit Service 3880ab
Resource's path.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BI size " RESOURCE_SIZE"
Packit Service 3880ab
The new resource's size.
Packit Service 3880ab
Packit Service 3880ab
.SH "EXAMPLES"
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink resource show pci/0000:01:00.0
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows the resources of the specified devlink device.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink resource set pci/0000:01:00.0 /kvd/linear 98304
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Sets the size of the specified resource for the specified devlink device.
Packit Service 3880ab
.RE
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR devlink (8),
Packit Service 3880ab
.BR devlink-port (8),
Packit Service 3880ab
.BR devlink-sb (8),
Packit Service 3880ab
.BR devlink-monitor (8),
Packit Service 3880ab
.br
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
Arkadi Sharshevsky <arkadis@mellanox.com>