public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: "Weiny, Ira" <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
	<roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH] ib/mad: remove Device Mgmt from RMPP class list
Date: Wed, 24 Jul 2013 18:21:46 -0400	[thread overview]
Message-ID: <51F0537A.8050703@dev.mellanox.co.il> (raw)
In-Reply-To: <2807E5FD2F6FDA4886F6618EAC48510E021B0B9D-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

On 7/24/2013 6:10 PM, Weiny, Ira wrote:
>> -----Original Message-----
>> From: Hal Rosenstock [mailto:hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org]
>> Subject: Re: [PATCH] ib/mad: remove Device Mgmt from RMPP class list
>>
>> On 7/24/2013 5:44 PM, Ira Weiny wrote:
>>> The specification does not indicate that Device Mgmt is an RMPP class.
>>
>> See Annex 8; DevMgt class version 2 rather than 1 is currently supported.
> 
> Could older devices still return version 1?  

Yes, we can change this to support version 1 too.

> If so the kernel should allow DevMgt without RMPP, correct?

Yes. Both versions 1 and 2 DevMgt could be supported.

-- Hal

> 
> Ira
> 
>>
>> -- Hal
>>
>>> Signed-off-by: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>>> ---
>>>  drivers/infiniband/core/mad.c |    1 -
>>>  1 files changed, 0 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/drivers/infiniband/core/mad.c
>>> b/drivers/infiniband/core/mad.c index dc3fd1e..309b507 100644
>>> --- a/drivers/infiniband/core/mad.c
>>> +++ b/drivers/infiniband/core/mad.c
>>> @@ -943,7 +943,6 @@ EXPORT_SYMBOL(ib_get_mad_data_offset);
>>>  int ib_is_mad_class_rmpp(u8 mgmt_class)  {
>>>  	if ((mgmt_class == IB_MGMT_CLASS_SUBN_ADM) ||
>>> -	    (mgmt_class == IB_MGMT_CLASS_DEVICE_MGMT) ||
>>>  	    (mgmt_class == IB_MGMT_CLASS_DEVICE_ADM) ||
>>>  	    (mgmt_class == IB_MGMT_CLASS_BIS) ||
>>>  	    ((mgmt_class >= IB_MGMT_CLASS_VENDOR_RANGE2_START) &&
> 
> 

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

  parent reply	other threads:[~2013-07-24 22:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 21:44 [PATCH] ib/mad: remove Device Mgmt from RMPP class list Ira Weiny
     [not found] ` <20130724144426.5a63669ea6107c8a3e6c1867-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2013-07-24 21:59   ` Hal Rosenstock
     [not found]     ` <51F04E2D.9060708-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-07-24 22:10       ` Weiny, Ira
     [not found]         ` <2807E5FD2F6FDA4886F6618EAC48510E021B0B9D-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-07-24 22:21           ` Hal Rosenstock [this message]
2013-07-24 22:22           ` Hefty, Sean
     [not found]             ` <1828884A29C6694DAF28B7E6B8A8237384567CA1-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-07-24 22:29               ` Weiny, Ira
2013-07-24 22:56               ` Weiny, Ira
     [not found]                 ` <2807E5FD2F6FDA4886F6618EAC48510E021B1099-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-07-24 23:01                   ` Hefty, Sean
     [not found]                     ` <1828884A29C6694DAF28B7E6B8A8237384567D00-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-07-24 23:05                       ` Weiny, Ira
     [not found]                         ` <2807E5FD2F6FDA4886F6618EAC48510E021B1166-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-07-25  8:20                           ` Bart Van Assche
     [not found]                             ` <51F0DFBE.10608-HInyCGIudOg@public.gmane.org>
2013-07-25 10:26                               ` Hal Rosenstock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F0537A.8050703@dev.mellanox.co.il \
    --to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox