]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man: devlink-resource: add missing words in the example
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Wed, 3 Jul 2024 13:15:19 +0000 (15:15 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 8 Jul 2024 22:01:50 +0000 (15:01 -0700)
Add missing "size" and "path" words in the example, as the current example
is incorrect and will be rejected by the command.

The keywords were missing from very inception of devlink-resource man page

Fixes: 58b48c5d75e2 ("devlink: Update man pages and add resource man")
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/devlink-resource.8

index 8c3158076a9283a2662c360a79bc9f3f030aeb16..c4f6918c9b037385293b851d46e597031758179b 100644 (file)
@@ -63,7 +63,7 @@ devlink resource show pci/0000:01:00.0
 Shows the resources of the specified devlink device.
 .RE
 .PP
-devlink resource set pci/0000:01:00.0 /kvd/linear 98304
+devlink resource set pci/0000:01:00.0 path /kvd/linear size 98304
 .RS 4
 Sets the size of the specified resource for the specified devlink device.
 .RE