]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
devlink: Add documentation for roce and migratable port function attributes
authorShay Drory <shayd@nvidia.com>
Sun, 11 Dec 2022 11:58:49 +0000 (13:58 +0200)
committerDavid Ahern <dsahern@kernel.org>
Wed, 14 Dec 2022 15:59:38 +0000 (08:59 -0700)
New port function attributes roce and migratable were added.
Update the man page for devlink-port to account for new attributes.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/devlink-port.8

index e668d0a242eb6ad8366222971013bff73a808341..56049f7349a88890f291c7d2e5f88f3c805a59ef 100644 (file)
@@ -71,6 +71,12 @@ devlink-port \- devlink port configuration
 .RI "[ "
 .BR state " { " active " | " inactive " }"
 .RI "]"
+.RI "[ "
+.BR roce " { " enable " | " disable " }"
+.RI "]"
+.RI "[ "
+.BR migratable " { " enable " | " disable " }"
+.RI "]"
 
 .ti -8
 .BR "devlink port function rate "
@@ -208,6 +214,14 @@ New state of the function to change to.
 .I inactive
 - To inactivate the function and its device(s), set to inactive.
 
+.TP
+.BR roce " { " enable " | " disable  " } "
+Set the RoCE capability of the function.
+
+.TP
+.BR migratable " { " enable " | " disable  " } "
+Set the migratable capability of the function.
+
 .ti -8
 .SS devlink port del - delete a devlink port
 .PP
@@ -327,6 +341,16 @@ Deactivate the function. This will initiate the function teardown which results
 in driver unload and device removal.
 .RE
 .PP
+devlink port function set pci/0000:01:00.0/1 roce enable
+.RS 4
+This will enable the RoCE functionality of the function.
+.RE
+.PP
+devlink port function set pci/0000:01:00.0/1 migratable enable
+.RS 4
+This will enable the migratable functionality of the function.
+.RE
+.PP
 devlink port function set pci/0000:01:00.0/1 hw_addr 00:00:00:11:22:33 state active
 .RS 4
 Configure hardware address and also active the function. When a function is