public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] infiniband-diags: Add SMP/QP0 usage explanation to general man page
@ 2012-05-31 23:02 Ira Weiny
       [not found] ` <20120531160249.f23247ea.weiny2-i2BcT+NCU+M@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ira Weiny @ 2012-05-31 23:02 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org



Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
---
 doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst
index 6a86ae2..9cd4524 100644
--- a/doc/rst/infiniband-diags.8.in.rst
+++ b/doc/rst/infiniband-diags.8.in.rst
@@ -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
 ==============
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] infiniband-diags: Add SMP/QP0 usage explanation to general man page
       [not found] ` <20120531160249.f23247ea.weiny2-i2BcT+NCU+M@public.gmane.org>
@ 2012-05-31 23:35   ` Hal Rosenstock
       [not found]     ` <4FC80044.8010508-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hal Rosenstock @ 2012-05-31 23:35 UTC (permalink / raw)
  To: Ira Weiny; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 5/31/2012 7:02 PM, Ira Weiny wrote:
> 
> 
> Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
> ---
>  doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst
> index 6a86ae2..9cd4524 100644
> --- a/doc/rst/infiniband-diags.8.in.rst
> +++ b/doc/rst/infiniband-diags.8.in.rst
> @@ -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

> +data directly from hardware.  

SMA rather than hardware

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

I think this is a grey area.

-- Hal

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

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] infiniband-diags: Add SMP/QP0 usage explanation to general man page
       [not found]     ` <4FC80044.8010508-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2012-05-31 23:58       ` Ira Weiny
       [not found]         ` <20120531165831.7282b711.weiny2-i2BcT+NCU+M@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ira Weiny @ 2012-05-31 23:58 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Thu, 31 May 2012 19:35:32 -0400
Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> wrote:

> On 5/31/2012 7:02 PM, Ira Weiny wrote:
> > 
> > 
> > Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
> > ---
> >  doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
> >  1 files changed, 12 insertions(+), 0 deletions(-)
> > 
> > diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst
> > index 6a86ae2..9cd4524 100644
> > --- a/doc/rst/infiniband-diags.8.in.rst
> > +++ b/doc/rst/infiniband-diags.8.in.rst
> > @@ -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

done

> 
> > +data directly from hardware.  
> 
> SMA rather than hardware

done.

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

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


-- 
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
weiny2-i2BcT+NCU+M@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] infiniband-diags: Add SMP/QP0 usage explanation to general man page
       [not found]         ` <20120531165831.7282b711.weiny2-i2BcT+NCU+M@public.gmane.org>
@ 2012-06-01  1:06           ` Hal Rosenstock
       [not found]             ` <4FC8157B.7040107-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hal Rosenstock @ 2012-06-01  1:06 UTC (permalink / raw)
  To: Ira Weiny; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 5/31/2012 7:58 PM, Ira Weiny wrote:
> On Thu, 31 May 2012 19:35:32 -0400
> Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> wrote:
> 
>> On 5/31/2012 7:02 PM, Ira Weiny wrote:
>>>
>>>
>>> Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
>>> ---
>>>  doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
>>>  1 files changed, 12 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst
>>> index 6a86ae2..9cd4524 100644
>>> --- a/doc/rst/infiniband-diags.8.in.rst
>>> +++ b/doc/rst/infiniband-diags.8.in.rst
>>> @@ -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
> 
> done
> 
>>
>>> +data directly from hardware.  
>>
>> SMA rather than hardware
> 
> done.
> 
>>
>>> 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

> 
> Ira
> 
>>
>> -- Hal
>>
>>> 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
>>>  ==============
>>>  
>>
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] infiniband-diags: Add SMP/QP0 usage explanation to general man page
       [not found]             ` <4FC8157B.7040107-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2012-06-01  1:13               ` Ira Weiny
  0 siblings, 0 replies; 5+ messages in thread
From: Ira Weiny @ 2012-06-01  1:13 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Thu, 31 May 2012 21:06:03 -0400
Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> wrote:

> On 5/31/2012 7:58 PM, Ira Weiny wrote:
> > On Thu, 31 May 2012 19:35:32 -0400
> > Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> wrote:
> > 
> >> On 5/31/2012 7:02 PM, Ira Weiny wrote:
> >>>
> >>>
> >>> Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
> >>> ---
> >>>  doc/rst/infiniband-diags.8.in.rst |   12 ++++++++++++
> >>>  1 files changed, 12 insertions(+), 0 deletions(-)
> >>>
> >>> diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst
> >>> index 6a86ae2..9cd4524 100644
> >>> --- a/doc/rst/infiniband-diags.8.in.rst
> >>> +++ b/doc/rst/infiniband-diags.8.in.rst
> >>> @@ -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
> > 
> > done
> > 
> >>
> >>> +data directly from hardware.  
> >>
> >> SMA rather than hardware
> > 
> > done.
> > 
> >>
> >>> 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 ?

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

> 
> -- Hal
> 
> > 
> > Ira
> > 
> >>
> >> -- Hal
> >>
> >>> 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
> >>>  ==============
> >>>  
> >>
> > 
> > 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
weiny2-i2BcT+NCU+M@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-01  1:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 23:02 [PATCH] infiniband-diags: Add SMP/QP0 usage explanation to general man page Ira Weiny
     [not found] ` <20120531160249.f23247ea.weiny2-i2BcT+NCU+M@public.gmane.org>
2012-05-31 23:35   ` Hal Rosenstock
     [not found]     ` <4FC80044.8010508-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2012-05-31 23:58       ` Ira Weiny
     [not found]         ` <20120531165831.7282b711.weiny2-i2BcT+NCU+M@public.gmane.org>
2012-06-01  1:06           ` Hal Rosenstock
     [not found]             ` <4FC8157B.7040107-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2012-06-01  1:13               ` Ira Weiny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox