Skip to content

Commit

Permalink
Merge pull request #1561 from masatake/ibdiags--man-literal-blocks
Browse files Browse the repository at this point in the history
ibdiags: fix the usage of literal block indicators in the man pages
  • Loading branch information
rleon authored Feb 16, 2025
2 parents d9a2586 + 5c5bfbb commit 536e01f
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions infiniband-diags/man/ibportstate.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ EXAMPLES
========

::

ibportstate -C qib0 -P 1 3 1 disable # by CA name, CA Port Number, lid, physical port number
ibportstate -C qib0 -P 1 3 1 enable # by CA name, CA Port Number, lid, physical port number
ibportstate -D 0 1 # (query) by direct route
Expand Down
2 changes: 2 additions & 0 deletions infiniband-diags/man/ibroute.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ EXAMPLES
Unicast examples

::

ibroute 4 # dump all lids with valid out ports of switch with lid 4
ibroute -a 4 # same, but dump all lids, even with invalid out ports
ibroute -n 4 # simple dump format - no destination resolution
Expand All @@ -94,6 +95,7 @@ Unicast examples
Multicast examples

::

ibroute -M 4 # dump all non empty mlids of switch with lid 4
ibroute -M 4 0xc010 0xc020 # same, but with range
ibroute -M -n 4 # simple dump format
Expand Down
1 change: 1 addition & 0 deletions infiniband-diags/man/ibstat.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ EXAMPLES
========

::

ibstat # display status of all ports on all IB devices
ibstat -l # list all IB devices
ibstat -p # show port guids
Expand Down
1 change: 1 addition & 0 deletions infiniband-diags/man/ibstatus.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ EXAMPLES
========

::

ibstatus # display status of all IB ports
ibstatus mthca1 # status of mthca1 ports
ibstatus mthca1:1 mthca0:2 # show status of specified ports
Expand Down
2 changes: 2 additions & 0 deletions infiniband-diags/man/ibtracert.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ EXAMPLES
Unicast examples

::

ibtracert 4 16 # show path between lids 4 and 16
ibtracert -n 4 16 # same, but using simple output format
ibtracert -G 0x8f1040396522d 0x002c9000100d051 # use guid addresses

Multicast example

::

ibtracert -m 0xc000 4 16 # show multicast path of mlid 0xc000 between lids 4 and 16

SEE ALSO
Expand Down
1 change: 1 addition & 0 deletions infiniband-diags/man/sminfo.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ EXAMPLES
========

::

sminfo # local port\'s sminfo
sminfo 32 # show sminfo of lid 32
sminfo -G 0x8f1040023 # same but using guid address
Expand Down
2 changes: 2 additions & 0 deletions infiniband-diags/man/smpdump.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@ EXAMPLES
Direct Routed Examples

::

smpdump -D 0,1,2,3,5 16 # NODE DESC
smpdump -D 0,1,2 0x15 2 # PORT INFO, port 2

LID Routed Examples

::

smpdump 3 0x15 2 # PORT INFO, lid 3 port 2
smpdump 0xa0 0x11 # NODE INFO, lid 0xa0

Expand Down
1 change: 1 addition & 0 deletions infiniband-diags/man/smpquery.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ EXAMPLES
========

::

smpquery portinfo 3 1 # portinfo by lid, with port modifier
smpquery -G switchinfo 0x2C9000100D051 1 # switchinfo by guid
smpquery -D nodeinfo 0 # nodeinfo by direct route
Expand Down
3 changes: 3 additions & 0 deletions infiniband-diags/man/vendstat.8.in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ OPTIONS
Group 0 counter config values:

::

0 - PortXmitDataSL0-7
1 - PortXmitDataSL8-15
2 - PortRcvDataSL0-7

Group 1 counter config values:

::

1 - PortXmitDataSL8-15
2 - PortRcvDataSL0-7
8 - PortRcvDataSL8-15
Expand Down Expand Up @@ -106,6 +108,7 @@ EXAMPLES
========

::

vendstat -N 6 # read IS3 or IS4 general information
vendstat -w 6 # read IS3 port xmit wait counters
vendstat -i 6 12 # read IS4 port 12 counter group info
Expand Down

0 comments on commit 536e01f

Please sign in to comment.