Skip to contentSkip to conversation

infiniband-diags: Add man pages for dump2psl and dump2slvl

PATCH In review Hal Rosenstock 2 participants 5 messages Apr 5, 2011 – Apr 7, 2011 4 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infiniband-diags: Add man pages for dump2psl and dump2slvl

---
 Makefile.am     |    3 ++-
 man/dump2psl.8  |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 man/dump2slvl.8 |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 1 deletions(-)
 create mode 100644 man/dump2psl.8
 create mode 100644 man/dump2slvl.8
Makefile.am +2 -1
index 43d05f6..1792e37 100644
@@ -80,7 +80,8 @@ man_MANS = man/ibaddr.8 man/ibcheckerrors.8 man/ibcheckerrs.8 \
 	man/ibprintswitch.8 man/ibprintca.8 man/ibfindnodesusing.8 \
 	man/ibdatacounts.8 man/ibdatacounters.8 \
 	man/ibrouters.8 man/ibprintrt.8 man/ibidsverify.8 \
-	man/check_lft_balance.8 man/ibcacheedit.8
+	man/check_lft_balance.8 man/ibcacheedit.8 \
+	man/dump2psl.8 man/dump2slvl.8
 
 BUILT_SOURCES = ibdiag_version
 ibdiag_version:
man/dump2psl.8 new file +49 -0

49 lines not on this page · raw message

man/dump2slvl.8 new file +32 -0
new file mode 100644
index 0000000..0f70d63
@@ -0,0 +1,32 @@
+.TH DUMP2SLVL.PL 8 "April 3, 2011" "OpenIB" "OpenIB Diagnostics"
+
+.SH NAME
+dump2slvl.pl \- dump slvl file based on opensm output file used for credit loop checking
+
+.SH SYNOPSIS
+.B dump2slvl.pl
+
+.SH DESCRIPTION
+.PP
+dump2slvl.pl dumps a slvl file based on an opensm output file. A slvl file
+contains the SL to VL mappings and is needed for subsequent credit loop
+checking (via ibdmchk). This conversion is needed when ibutils is not
+installed and credit loop checking is done on a different machine or later.
+Credit loop checking is especially valuable for the QoS based routing
+algorithms (e.g. torus-2QoS, lash, etc.).
+
+ibdiagnet -vlr dumps the slvl (and psl) files needed for ibdmchk -M -a -s
+(which is the credit loop check).
+
+.SH USAGE
+
+.PP
+cat opensm-sl2vl.dump | dump2slvl.pl > opensm.slvl
+
+.SH SEE ALSO
+.BR dump2psl(8), ibdmchk(8), ibdiagnet(8)
+
+.SH AUTHOR
+.TP
+Hal Rosenstock
+.RI < hal-VPRAkNaXOzVWk0Htik3J/[email protected] >
Signature · 7 lines
1.5.3


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4D9B6DEB.7060702-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#2 lore raw

Since these are only used by ibdmchk it seems more appropriate to bundle it in the ibutils package than in infiniband-diags?

Quoted 8 lines · Hal Rosenstock
 Makefile.am     |    3 ++-
 man/dump2psl.8  |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 man/dump2slvl.8 |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 1 deletions(-)
 create mode 100644 man/dump2psl.8
 create mode 100644 man/dump2slvl.8

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20110406004057.GB4573-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org

#4 lore raw
Quoted 2 lines · Jason Gunthorpe

Since these are only used by ibdmchk it seems more appropriate to bundle it in the ibutils package than in infiniband-diags?

No; the idea is that the files can be prepared for ibdmchk on a machine which does not include ibutils and moved to another machine there for checking. That's why these are being made part of infiniband-diags and not ibutils.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4D9C4784.6010103-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#6 lore raw
Quoted 8 lines · Hal Rosenstock
Quoted 2 lines · Jason Gunthorpe

Since these are only used by ibdmchk it seems more appropriate to bundle it in the ibutils package than in infiniband-diags?

No; the idea is that the files can be prepared for ibdmchk on a machine which does not include ibutils and moved to another machine there for checking. That's why these are being made part of infiniband-diags and not ibutils.

Your perl scripts don't run any infiniband-diags programs, they are just text processing filters, so you can copy the input text files to the machine with ibdmchk just as easily as copying the output text files.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20110406181220.GA5924-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org

#8 lore raw
Quoted 10 lines · Jason Gunthorpe
Quoted 8 lines · Hal Rosenstock
Quoted 2 lines · Jason Gunthorpe

Since these are only used by ibdmchk it seems more appropriate to bundle it in the ibutils package than in infiniband-diags?

No; the idea is that the files can be prepared for ibdmchk on a machine which does not include ibutils and moved to another machine there for checking. That's why these are being made part of infiniband-diags and not ibutils.

Quoted 4 lines

Your perl scripts don't run any infiniband-diags programs, they are just text processing filters, so you can copy the input text files to the machine with ibdmchk just as easily as copying the output text files.

You're right; they should go with ibutils. I'll generate the patch for that.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html