From: Shay Drory Date: Sun, 11 Dec 2022 11:58:49 +0000 (+0200) Subject: devlink: Add documentation for roce and migratable port function attributes X-Git-Tag: v6.2.0~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe036c3666a50b873d33411e1cbbacd1a0bb9178;p=thirdparty%2Fiproute2.git devlink: Add documentation for roce and migratable port function attributes 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 Reviewed-by: Moshe Shemesh Signed-off-by: David Ahern --- diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8 index e668d0a24..56049f734 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