]> git.proxmox.com Git - mirror_iproute2.git/blob - man/man8/devlink-resource.8
man: Add initial manpage for tc-etf(8)
[mirror_iproute2.git] / man / man8 / devlink-resource.8
1 .TH DEVLINK\-RESOURCE 8 "11 Feb 2018" "iproute2" "Linux"
2 .SH NAME
3 devlink-resource \- devlink device resource configuration
4 .SH SYNOPSIS
5 .sp
6 .ad l
7 .in +8
8 .ti -8
9 .B devlink
10 .RI "[ " OPTIONS " ]"
11 .B resource
12 .RI " { " COMMAND " | "
13 .BR help " }"
14 .sp
15
16 .ti -8
17 .IR OPTIONS " := { "
18 \fB\-v\fR[\fIerbose\fR] }
19
20 .ti -8
21 .B devlink resource show
22 .IR DEV
23
24 .ti -8
25 .B devlink resource help
26
27 .ti -8
28 .BR "devlink resource set"
29 .IR DEV
30 .BI path " RESOURCE_PATH"
31 .BI size " RESOURCE_SIZE"
32
33 .SH "DESCRIPTION"
34 .SS devlink resource show - display devlink device's resosources
35
36 .PP
37 .I "DEV"
38 - specifies the devlink device to show.
39
40 .in +4
41 Format is:
42 .in +2
43 BUS_NAME/BUS_ADDRESS
44
45 .SS devlink resource set - sets resource size of specific resource
46
47 .PP
48 .I "DEV"
49 - specifies the devlink device.
50
51 .TP
52 .BI path " RESOURCE_PATH"
53 Resource's path.
54
55 .TP
56 .BI size " RESOURCE_SIZE"
57 The new resource's size.
58
59 .SH "EXAMPLES"
60 .PP
61 devlink resource show pci/0000:01:00.0
62 .RS 4
63 Shows the resources of the specified devlink device.
64 .RE
65 .PP
66 devlink resource set pci/0000:01:00.0 /kvd/linear 98304
67 .RS 4
68 Sets the size of the specified resource for the specified devlink device.
69
70 .SH SEE ALSO
71 .BR devlink (8),
72 .BR devlink-port (8),
73 .BR devlink-sb (8),
74 .BR devlink-monitor (8),
75 .br
76
77 .SH AUTHOR
78 Arkadi Sharshevsky <arkadis@mellanox.com>