* [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis
@ 2021-10-06 9:44 Antoine Tenart
2021-10-06 9:44 ` [PATCH iproute2-next 2/3] man: devlink-port: fix style Antoine Tenart
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Antoine Tenart @ 2021-10-06 9:44 UTC (permalink / raw)
To: jiri, stephen, dsahern; +Cc: Antoine Tenart, netdev
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(-)
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH iproute2-next 2/3] man: devlink-port: fix style 2021-10-06 9:44 [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart @ 2021-10-06 9:44 ` Antoine Tenart 2021-10-06 9:44 ` [PATCH iproute2-next 3/3] man: devlink-port: remove extra .br Antoine Tenart 2021-10-06 9:51 ` [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart 2 siblings, 0 replies; 4+ messages in thread From: Antoine Tenart @ 2021-10-06 9:44 UTC (permalink / raw) To: jiri, stephen, dsahern; +Cc: Antoine Tenart, netdev Values should be .I, square brackets should be used for optional values, curly brackets for lists. Follow this in the devlink-port man page. Signed-off-by: Antoine Tenart <atenart@kernel.org> --- man/man8/devlink-port.8 | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8 index 4d2ff5d87144..e5686deae573 100644 --- a/man/man8/devlink-port.8 +++ b/man/man8/devlink-port.8 @@ -45,16 +45,16 @@ devlink-port \- devlink port configuration .ti -8 .BI "devlink port add" -.RB "[" +.RB "{" .IR "DEV | DEV/PORT_INDEX" -.RB "] " +.RB "} " .RB "[ " flavour .IR FLAVOUR " ]" .RB "[ " pcipf .IR PFNUMBER " ]" .br -.RB "{ " sfnum -.IR SFNUMBER " }" +.RB "[ " sfnum +.IR SFNUMBER " ]" .br .RB "[ " controller .IR CNUM " ]" @@ -102,7 +102,7 @@ devlink-port \- devlink port configuration .SS devlink port set - change devlink port attributes .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to operate on. .in +4 @@ -126,7 +126,7 @@ set port type .SS devlink port split - split devlink port into more .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to operate on. .TP @@ -137,7 +137,7 @@ number of ports to split to. Could be performed on any split port of the same split group. .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to operate on. .SS devlink port show - display devlink port attributes @@ -154,11 +154,11 @@ Is an alias for .ti -8 .SS devlink port add - add a devlink port .PP -.B "DEV" +.I "DEV" - specifies the devlink device to operate on. or .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port index to use for the requested new port. This is optional. When omitted, driver allocates unique port index. @@ -173,17 +173,17 @@ set port flavour - PCI SF port .TP -.BR pfnum " { " pfnumber " } " +.BI pfnum " PFNUMBER " Specifies PCI pfnumber to use on which a SF device to create .TP -.BR sfnum " { " sfnumber " } " +.BI sfnum " SFNUMBER " Specifies sfnumber to assign to the device of the SF. This field is optional for those devices which supports auto assignment of the SF number. .TP -.BR controller " { " controller " } " +.BI controller " CNUM " Specifies controller number for which the SF port is created. This field is optional. It is used only when SF port is created for the external controller. @@ -192,17 +192,17 @@ external controller. .SS devlink port function set - Set the port function attribute(s). .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to operate on. .TP -.BR hw_addr " ADDR" -- hardware address of the function to set. This is a Ethernet MAC address when +.BI hw_addr " ADDR" +Hardware address of the function to set. This is a Ethernet MAC address when port type is Ethernet. .TP .BR state " { " active " | " inactive " } " -- new state of the function to change to. +New state of the function to change to. .I active - Once configuration of the function is done, activate the function. @@ -213,13 +213,13 @@ port type is Ethernet. .ti -8 .SS devlink port del - delete a devlink port .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to delete. .ti -8 .SS devlink port param set - set new value to devlink port configuration parameter .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to operate on. .TP @@ -246,7 +246,7 @@ Configuration mode in which the new value is set. .SS devlink port param show - display devlink port supported configuration parameters attributes .PP -.B "DEV/PORT_INDEX" +.I "DEV/PORT_INDEX" - specifies the devlink port to operate on. .B name -- 2.31.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH iproute2-next 3/3] man: devlink-port: remove extra .br 2021-10-06 9:44 [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart 2021-10-06 9:44 ` [PATCH iproute2-next 2/3] man: devlink-port: fix style Antoine Tenart @ 2021-10-06 9:44 ` Antoine Tenart 2021-10-06 9:51 ` [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart 2 siblings, 0 replies; 4+ messages in thread From: Antoine Tenart @ 2021-10-06 9:44 UTC (permalink / raw) To: jiri, stephen, dsahern; +Cc: Antoine Tenart, netdev br. were added between options of the same command. That is not needed and makes the output to be one 3 lines for no particular reason. Signed-off-by: Antoine Tenart <atenart@kernel.org> --- man/man8/devlink-port.8 | 2 -- 1 file changed, 2 deletions(-) diff --git a/man/man8/devlink-port.8 b/man/man8/devlink-port.8 index e5686deae573..e48c573578ca 100644 --- a/man/man8/devlink-port.8 +++ b/man/man8/devlink-port.8 @@ -52,10 +52,8 @@ devlink-port \- devlink port configuration .IR FLAVOUR " ]" .RB "[ " pcipf .IR PFNUMBER " ]" -.br .RB "[ " sfnum .IR SFNUMBER " ]" -.br .RB "[ " controller .IR CNUM " ]" .br -- 2.31.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis 2021-10-06 9:44 [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart 2021-10-06 9:44 ` [PATCH iproute2-next 2/3] man: devlink-port: fix style Antoine Tenart 2021-10-06 9:44 ` [PATCH iproute2-next 3/3] man: devlink-port: remove extra .br Antoine Tenart @ 2021-10-06 9:51 ` Antoine Tenart 2 siblings, 0 replies; 4+ messages in thread From: Antoine Tenart @ 2021-10-06 9:51 UTC (permalink / raw) To: dsahern, jiri, stephen; +Cc: netdev 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 > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-06 9:51 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-10-06 9:44 [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart 2021-10-06 9:44 ` [PATCH iproute2-next 2/3] man: devlink-port: fix style Antoine Tenart 2021-10-06 9:44 ` [PATCH iproute2-next 3/3] man: devlink-port: remove extra .br Antoine Tenart 2021-10-06 9:51 ` [PATCH iproute2-next 1/3] man: devlink-port: fix the devlink port add synopsis Antoine Tenart
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).