diff mbox series

[iproute2-next,1/3] man: devlink-port: fix the devlink port add synopsis

Message ID 20211006094455.138504-1-atenart@kernel.org (mailing list archive)
State Accepted
Delegated to: Stephen Hemminger
Headers show
Series [iproute2-next,1/3] man: devlink-port: fix the devlink port add synopsis | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Antoine Tenart Oct. 6, 2021, 9:44 a.m. UTC
When configuring a devlink PCI SF port, the sfnumber can be specified
using 'sfnum' and not 'pcisf' as stated in the man page. Fix this.

Signed-off-by: Antoine Tenart <atenart@kernel.org>
---
 man/man8/devlink-port.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Antoine Tenart Oct. 6, 2021, 9:51 a.m. UTC | #1
Quoting Antoine Tenart (2021-10-06 11:44:53)
> When configuring a devlink PCI SF port, the sfnumber can be specified
> using 'sfnum' and not 'pcisf' as stated in the man page. Fix this.

A similar issue should be fixed for 'pcipf' which should be 'pfnum'. I
forgot to include it here, I'll fix it in a separate patch.

Antoine

> Signed-off-by: Antoine Tenart <atenart@kernel.org>
> ---
>  man/man8/devlink-port.8 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8
> index 147c8e271d79..4d2ff5d87144 100644
> --- a/man/man8/devlink-port.8
> +++ b/man/man8/devlink-port.8
> @@ -53,7 +53,7 @@ devlink-port \- devlink port configuration
>  .RB "[ " pcipf
>  .IR PFNUMBER " ]"
>  .br
> -.RB "{ " pcisf
> +.RB "{ " sfnum
>  .IR SFNUMBER " }"
>  .br
>  .RB "[ " controller
> -- 
> 2.31.1
>
diff mbox series

Patch

diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8
index 147c8e271d79..4d2ff5d87144 100644
--- a/man/man8/devlink-port.8
+++ b/man/man8/devlink-port.8
@@ -53,7 +53,7 @@  devlink-port \- devlink port configuration
 .RB "[ " pcipf
 .IR PFNUMBER " ]"
 .br
-.RB "{ " pcisf
+.RB "{ " sfnum
 .IR SFNUMBER " }"
 .br
 .RB "[ " controller