Skip to contentSkip to conversation

infiniband-diags: Add SMP/QP0 usage explanation to general man page

PATCH In review Ira Weiny 2 participants 5 messages May 31, 2012 – Jun 1, 2012 4 messages not in the archive InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 infiniband-diags: Add SMP/QP0 usage explanation to general man page

---
 doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
doc/rst/infiniband-diags.8.in.rst +12 -0
index 6a86ae2..9cd4524 100644
@@ -23,6 +23,18 @@ may therefore work even in unconfigured subnets.  Other, higher level
 utilities, require LID routed MAD's and to some extent SA/SM access.
 
 
+THE USE OF SMP's (QP0)
+======================
+
+Many of the tools in this package rely on the use of SMP's via QP0 to acquire
+data directly from hardware.  While this mode of operation is not technically
+in compliance with the InfiniBand specification, practical experience has found
+that this level of diagnostics is valuable when working with a fabric which is
+broken or only partially configured.  For this reason many of these tools may
+require the use of an MKey or operation from Virtual Machines may be restricted
+for security reasons.
+
+
 COMMON OPTIONS
 ==============
 
Signature · 6 lines
1.7.1

--
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
#2 lore raw
In reply to a message not in the archive
Quoted 12 lines · Ira Weiny
---
 doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
doc/rst/infiniband-diags.8.in.rst +0 -0
index 6a86ae2..9cd4524 100644

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 29

Quoted 7 lines
doc/rst/infiniband-diags.8.in.rst +4 -0
@@ -23,6 +23,18 @@ may therefore work even in unconfigured subnets.  Other, higher level
 utilities, require LID routed MAD's and to some extent SA/SM access.
 
 
+THE USE OF SMP's (QP0)
+======================
+
+Many of the tools in this package rely on the use of SMP's via QP0 to acquire

SMPs

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 30

Quoted 1 line
doc/rst/infiniband-diags.8.in.rst +1 -0
+data directly from hardware.  

SMA rather than hardware

Quoted 2 lines

While this mode of operation is not technically
+in compliance with the InfiniBand specification,

I think this is a grey area.

-- Hal

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 39

Quoted 10 lines

practical experience has found

doc/rst/infiniband-diags.8.in.rst +6 -0
+that this level of diagnostics is valuable when working with a fabric which is
+broken or only partially configured.  For this reason many of these tools may
+require the use of an MKey or operation from Virtual Machines may be restricted
+for security reasons.
+
+
 COMMON OPTIONS
 ==============

--
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

author
#4 lore raw
In reply to a message not in the archive
Quoted 16 lines · On Thu, 31 May 2012 19:35:32 -0400 Hal Rosenstock…
Quoted 15 lines · Ira Weiny
---
 doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
doc/rst/infiniband-diags.8.in.rst +0 -0
index 6a86ae2..9cd4524 100644
@@ -23,6 +23,18 @@ may therefore work even in unconfigured subnets.  Other, higher level
 utilities, require LID routed MAD's and to some extent SA/SM access.
 
 
Quoted 6 lines

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 29

Quoted 4 lines
doc/rst/infiniband-diags.8.in.rst +4 -0
+THE USE OF SMP's (QP0)
+======================
+
+Many of the tools in this package rely on the use of SMP's via QP0 to acquire

SMPs

done

Quoted 4 lines

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 30

Quoted 2 lines
doc/rst/infiniband-diags.8.in.rst +1 -0
+data directly from hardware.  

SMA rather than hardware

done.

Quoted 5 lines
Quoted 3 lines

While this mode of operation is not technically
+in compliance with the InfiniBand specification,

I think this is a grey area.

I agree. However, I thought with SRIOV support and MKey support it was worth mentioning this.

Ira

Quoted 14 lines

-- Hal

Quoted 10 lines

practical experience has found

doc/rst/infiniband-diags.8.in.rst +6 -0
+that this level of diagnostics is valuable when working with a fabric which is
+broken or only partially configured.  For this reason many of these tools may
+require the use of an MKey or operation from Virtual Machines may be restricted
+for security reasons.
+
+
 COMMON OPTIONS
 ==============
Signature · 9 lines
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
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
#6 lore raw
In reply to a message not in the archive
Quoted 36 lines · Ira Weiny
Quoted 16 lines · On Thu, 31 May 2012 19:35:32 -0400 Hal Rosenstock…
Quoted 15 lines · Ira Weiny
---
 doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
doc/rst/infiniband-diags.8.in.rst +0 -0
index 6a86ae2..9cd4524 100644
@@ -23,6 +23,18 @@ may therefore work even in unconfigured subnets.  Other, higher level
 utilities, require LID routed MAD's and to some extent SA/SM access.
 
 
Quoted 6 lines

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 29

Quoted 4 lines
doc/rst/infiniband-diags.8.in.rst +4 -0
+THE USE OF SMP's (QP0)
+======================
+
+Many of the tools in this package rely on the use of SMP's via QP0 to acquire

SMPs

done

Quoted 4 lines

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 30

Quoted 2 lines
doc/rst/infiniband-diags.8.in.rst +1 -0
+data directly from hardware.  

SMA rather than hardware

done.

Quoted 1 line
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

While this mode of operation is not technically
+in compliance with the InfiniBand specification,

I think this is a grey area.

I agree. However, I thought with SRIOV support and MKey support it was worth

mentioning this.

For SRIOV (guests), the only diags are ibstat and ibstatus right now. Should there be a separate guest package with just those and their man pages ?

-- Hal

Quoted 19 lines

Ira

Quoted 14 lines

-- Hal

Quoted 10 lines

practical experience has found

doc/rst/infiniband-diags.8.in.rst +6 -0
+that this level of diagnostics is valuable when working with a fabric which is
+broken or only partially configured.  For this reason many of these tools may
+require the use of an MKey or operation from Virtual Machines may be restricted
+for security reasons.
+
+
 COMMON OPTIONS
 ==============

--
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

author
#8 lore raw
In reply to a message not in the archive
Quoted 40 lines · On Thu, 31 May 2012 21:06:03 -0400 Hal Rosenstock…
Quoted 39 lines · Ira Weiny
Quoted 16 lines · On Thu, 31 May 2012 19:35:32 -0400 Hal Rosenstock…
Quoted 15 lines · Ira Weiny
---
 doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
doc/rst/infiniband-diags.8.in.rst +0 -0
index 6a86ae2..9cd4524 100644
@@ -23,6 +23,18 @@ may therefore work even in unconfigured subnets.  Other, higher level
 utilities, require LID routed MAD's and to some extent SA/SM access.
 
 
Quoted 6 lines

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 29

Quoted 4 lines
doc/rst/infiniband-diags.8.in.rst +4 -0
+THE USE OF SMP's (QP0)
+======================
+
+Many of the tools in this package rely on the use of SMP's via QP0 to acquire

SMPs

done

Quoted 4 lines

doc/rst/infiniband-diags.8.in.rst may therefore work even in unconfigured subnets. Other, higher level · line 30

Quoted 2 lines
doc/rst/infiniband-diags.8.in.rst +1 -0
+data directly from hardware.  

SMA rather than hardware

done.

Quoted 4 lines
Quoted 3 lines

While this mode of operation is not technically
+in compliance with the InfiniBand specification,

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

I think this is a grey area.

I agree. However, I thought with SRIOV support and MKey support it was worth

mentioning this.

For SRIOV (guests), the only diags are ibstat and ibstatus right now. Should there be a separate guest package with just those and their man pages ?

I don't think so. Some other tools will work saquery, perfquery, etc. I know that it can be difficult for users to understand where the use of SMPs might hang them up, but at least this may give them a clue. Going forward it would be nice to have less dependencies on SMPs. But I think we agree it will always be nice to query the hardware (SMA) directly.

Ira

Quoted 27 lines

-- Hal

Quoted 19 lines

Ira

Quoted 14 lines

-- Hal

Quoted 10 lines

practical experience has found

doc/rst/infiniband-diags.8.in.rst +6 -0
+that this level of diagnostics is valuable when working with a fabric which is
+broken or only partially configured.  For this reason many of these tools may
+require the use of an MKey or operation from Virtual Machines may be restricted
+for security reasons.
+
+
 COMMON OPTIONS
 ==============

--
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

Signature · 9 lines
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
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