Skip to content

Commit c472f4a

Browse files
Stefan RasplStefan Raspl
authored andcommitted
man pages: Consistency improvements
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
1 parent 6e69852 commit c472f4a

13 files changed

Lines changed: 71 additions & 67 deletions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Release History:
4545
- `smc_rnics`: Use '`n/a`' to indicate missing PNET ID
4646
- `smc_chk`: New tool to perform SMC eligilibilty checks, requires `man` and
4747
`python3` to be installed
48+
- `man` pages: Consistency improvements
4849

4950
Bug fixes:
5051
- `smc_pnet.8`: Use correct spelling for 'PNET ID'

smc-device.8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@ PNET-ID of the device. "*" means PNET-ID is set by the user.
154154

155155
.SH SEE ALSO
156156
.br
157-
.BR smc (8),
158-
.BR smc-linkgroup (8)
157+
.BR smcd (8),
158+
.BR smcr (8)

smc-linkgroup.8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,5 +212,5 @@ GID of the peer RoCE port used by the link.
212212

213213
.SH SEE ALSO
214214
.br
215-
.BR smc (8),
216-
.BR smc-device (8)
215+
.BR smcd (8),
216+
.BR smcr (8)

smc.8

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ smc \- Print information about SMC linkgroups, links, devices
1717
.sp
1818

1919
.IR OBJECT " := { "
20-
.BR linkgroup " | " device " }"
20+
.BR linkgroup " | " device " | " info " }"
2121
.sp
2222

2323
.IR OPTIONS " := { "
@@ -46,13 +46,17 @@ Print more detailed information.
4646
.SS
4747
.I OBJECT
4848

49-
.B linkgroup
50-
Linkgroup(s) or link(s) of the SMC.
51-
52-
.TP
5349
.B device
5450
Device(s) of the SMC.
5551

52+
.TP
53+
.B info
54+
Generic SMC information.
55+
56+
.TP
57+
.B linkgroup
58+
Linkgroup(s) or link(s) of the SMC.
59+
5660
.PP
5761
The names of all objects can be abbreviated down to
5862
a unique stem. For example
@@ -93,4 +97,5 @@ writes a message to stderr and completes with a return code other than 0.
9397
.SH SEE ALSO
9498
.BR af_smc (7),
9599
.BR smc-device (8),
100+
.BR smc-info (8),
96101
.BR smc-linkgroup (8)

smc_chk.8

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
.SH NAME
7-
smc_chk \- SMC support diagnostics.
7+
smc_chk \- SMC support diagnostics
88

99

1010
.SH SYNOPSIS
@@ -14,31 +14,41 @@ smc_chk \- SMC support diagnostics.
1414
.BI "smc_chk -i "INTERFACE
1515

1616
.SH DESCRIPTION
17-
Use option
17+
Use
1818
.B -C/--connect
19-
for diagnostics on SMC support of a service running at
20-
.IR IP .
21-
In absence of a particular service to test with, use option
19+
to obtain diagnostic information about the SMC support of a service that runs at a
20+
given
21+
.IR IP
22+
address.
23+
Otherwise, you can use
2224
.B -S/--server
23-
to start a server and
24-
.B -C/--connect
25-
for manual live tests.
26-
Or use option
27-
.B -i
28-
to print the PNET ID of the specified
25+
to start a server before connecting with
26+
.IR -C .
27+
Use
28+
.B -i/--pnetid
29+
to print the PNET ID of a specified
2930
.IR INTERFACE .
3031

3132

3233
.SH OPTIONS
3334
.TP
3435
.BI "\-C, \-\-connect " IP
35-
Test SMC-D and/or SMC-R connectivity to
36+
Test SMC-D and SMC-R connectivity to
3637
.IR IP .
3738
Use option
3839
.B -p/--port
3940
to specify a
4041
.IR PORT .
41-
Can be used with any (remote) service.
42+
.I IP
43+
can specify any service, including remote services.
44+
By default,
45+
.I IP
46+
is assumed be in IPv4 format.
47+
Specify
48+
.B -6/--IPv6
49+
if
50+
.I IP
51+
is an address in IPv6 format.
4252
.TP
4353
.BR "\-d, \-\-debug "
4454
Show debug messages.
@@ -49,7 +59,7 @@ Display a brief
4959
usage information.
5060
.TP
5161
.BI "\-i, \-\-pnetid " INTERFACE
52-
Print PNET ID of interface
62+
Print the PNET ID of interface
5363
.I INTERFACE
5464
and exit.
5565
.TP
@@ -58,19 +68,19 @@ Use port
5868
.I PORT
5969
for any live tests. If
6070
.I PORT
61-
is already in use, the next free port will be used.
71+
is already in use, the next free port is used.
6272
.TP
6373
.BR "\-S, \-\-server"
6474
Start a server for manual tests. Use option
6575
.B -p/--port
66-
to specify a
67-
.IR PORT .
76+
to specify a port.
6877
.TP
6978
.BR "\-v, \-\-version"
7079
Display version information.
7180
.TP
7281
.BR "\-6, \-\-ipv6"
73-
IP address provided in IPv6 format.
82+
.I IP
83+
address provided is in IPv6 format.
7484

7585

7686
.SH Examples
@@ -99,4 +109,4 @@ If an error occurs, a return code other than 0 is returned.
99109
.BR smc_run (8),
100110
.BR smcd (8),
101111
.BR smcr (8),
102-
.BR smcss (8),
112+
.BR smcss (8)

smc_pnet.8

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.TH SMC_PNET 8 "January 2017" "smc-tools" "Linux Programmer's Manual"
1111

1212
.SH NAME
13-
smc_pnet \- create, destroy, and change the SMC PNET table.
13+
smc_pnet \- create, destroy, and change the SMC PNET table
1414

1515
.SH SYNOPSIS
1616

@@ -172,7 +172,6 @@ completes with a return code other than 0.
172172
.BR smc_chk (8)
173173
.BR smc_rnics (8),
174174
.BR smc_run (8),
175-
.BR smcss (8),
176-
.BR smc (8),
177-
.BR smc-linkgroup (8),
178-
.BR smc-device (8)
175+
.BR smcd (8),
176+
.BR smcr (8),
177+
.BR smcss (8)

smc_rnics.8

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
.SH NAME
7-
smc_rnics \- list, enable and disable (R)NICS as used by SMC-R and SMC-D.
7+
smc_rnics \- list, enable and disable (R)NICS as used by SMC-R and SMC-D
88

99

1010
.SH SYNOPSIS
@@ -110,7 +110,6 @@ If an error occurs, a return code other than 0 is returned.
110110
.BR af_smc (7),
111111
.BR smc_pnet (8),
112112
.BR smc_run (8),
113-
.BR smcss (8),
114-
.BR smc (8),
115-
.BR smc-linkgroup (8),
116-
.BR smc-device (8)
113+
.BR smcd (8),
114+
.BR smcr (8),
115+
.BR smcss (8)

smc_run.8

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.TH SMC_RUN 8 "January 2017" "smc-tools" "Linux Programmer's Manual "
99
.SH NAME
1010
smc_run \- start a TCP socket program with the capability to use SMC as
11-
networking protocol.
11+
networking protocol
1212

1313
.SH SYNOPSIS
1414

@@ -52,8 +52,7 @@ An invalid option was specified.
5252
.BR smc_chk (8)
5353
.BR smc_pnet (8),
5454
.BR smc_rnics (8),
55+
.BR smcd (8),
56+
.BR smcr (8),
5557
.BR smcss (8),
56-
.BR smc (8),
57-
.BR smc-linkgroup (8),
58-
.BR smc-device (8),
5958
.BR tcp (7)

smcd-device.8

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,4 @@ PNET-ID of the device. Preceding "*" means PNET-ID is set by the user. (e.g "*PN
164164
.SH SEE ALSO
165165
.br
166166
.BR smcd (8),
167-
.BR smcr (8),
168-
.BR smcd-linkgroup (8),
169-
.BR smcr-linkgroup (8)
167+
.BR smcr (8)

smcd-linkgroup.8

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,4 @@ GID of the peer RoCE port used by the link.
219219
.SH SEE ALSO
220220
.br
221221
.BR smcd (8),
222-
.BR smcr (8),
223-
.BR smcd-device (8),
224-
.BR smcr-device (8)
222+
.BR smcr (8)

0 commit comments

Comments
 (0)