1DEVLINK-RESOURCE(8)                  Linux                 DEVLINK-RESOURCE(8)
2
3
4

NAME

6       devlink-resource - devlink device resource configuration
7

SYNOPSIS

9       devlink [ OPTIONS ] resource  { COMMAND | help }
10
11
12       OPTIONS := { -v[erbose] }
13
14       devlink resource show DEV
15
16       devlink resource help
17
18       devlink resource set DEV path RESOURCE_PATH size RESOURCE_SIZE
19
20

DESCRIPTION

22   devlink resource show - display devlink device's resosources
23       DEV - specifies the devlink device to show.
24
25           Format is:
26             BUS_NAME/BUS_ADDRESS
27
28
29   devlink resource set - sets resource size of specific resource
30       DEV - specifies the devlink device.
31
32
33       path RESOURCE_PATH
34              Resource's path.
35
36
37       size RESOURCE_SIZE
38              The new resource's size.
39
40

EXAMPLES

42       devlink resource show pci/0000:01:00.0
43           Shows the resources of the specified devlink device.
44
45       devlink resource set pci/0000:01:00.0 /kvd/linear 98304
46           Sets the size of the specified resource for the specified devlink
47           device.
48
49

SEE ALSO

51       devlink(8), devlink-port(8), devlink-sb(8), devlink-monitor(8),
52
53

AUTHOR

55       Arkadi Sharshevsky <arkadis@mellanox.com>
56
57
58
59iproute2                          11 Feb 2018              DEVLINK-RESOURCE(8)
Impressum