diff mbox series

[iproute2-next,4/4] devlink: Add documentation for roce and migratable port function attributes

Message ID 20221211115849.510284-5-shayd@nvidia.com (mailing list archive)
State Accepted
Commit fe036c3666a50b873d33411e1cbbacd1a0bb9178
Delegated to: David Ahern
Headers show
Series Implement new netlink attribute for devlink-port function in iproute2 | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Shay Drori Dec. 11, 2022, 11:58 a.m. UTC
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>
---
 man/man8/devlink-port.8 | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8
index e668d0a2..56049f73 100644
--- a/man/man8/devlink-port.8
+++ b/man/man8/devlink-port.8
@@ -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