lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 11 Dec 2022 13:58:49 +0200 From: Shay Drory <shayd@...dia.com> To: <netdev@...r.kernel.org>, Stephen Hemminger <stephen@...workplumber.org>, David Ahern <dsahern@...il.com>, <jiri@...dia.com> Subject: [PATCH iproute2-next 4/4] 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 <shayd@...dia.com> Reviewed-by: Moshe Shemesh <moshe@...dia.com> --- man/man8/devlink-port.8 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 -- 2.38.1
Powered by blists - more mailing lists