All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
Cc: "Chu, Al" <chu11-i2BcT+NCU+M@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [libibmad] field name cleanup
Date: Wed, 03 Aug 2011 11:44:22 -0400	[thread overview]
Message-ID: <4E396CD6.80904@dev.mellanox.co.il> (raw)
In-Reply-To: <20110803083937.533c5227.weiny2-i2BcT+NCU+M@public.gmane.org>

On 8/3/2011 11:39 AM, Ira Weiny wrote:
> On Wed, 3 Aug 2011 00:32:56 -0700
> Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> wrote:
> 
>> Hi Al,
>>
>> On 8/2/2011 8:10 PM, Albert Chu wrote:
>>> I noticed that a number of field names did not have the "_F" suffix on
>>> them. The patch below cleans this up and makes things consistent.
>>
>> I think the ship has sailed on this due to backward compatibility. IMO
>> the best that could be done now is to add the _F suffixes to be the same
>> as the ones without them.
>>
>> For example,
>> ...
>> 	IB_PC_PORT_VL_OP_PACKETS1,
>> 	IB_PC_PORT_VL_OP_PACKETS1_F = IB_PC_PORT_VL_OP_PACKETS1,
>> 	IB_PC_PORT_VL_OP_PACKETS2,
>> 	IB_PC_PORT_VL_OP_PACKETS2_F = IB_PC_PORT_VL_OP_PACKETS2,
>> ...
> 
> 
> I don't think so.  The last version (tag 1.3.7, released 2/14/2011) does not include IB_PC_PORT_VL_OP_PACKETS1.  So I think we can still change them before the release.
> 
> I think that is true of all the fields in the patch but I will check again.

Sure, if they're all "new" enums then it's OK to fix those. I thought
there were some older ones in that list but maybe I'm wrong...

-- Hal

> Ira
> 
>>
>> -- Hal
>>
>>> Al
>>>
>>
> 
> 

--
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:[~2011-08-03 15:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03  0:10 [libibmad] field name cleanup Albert Chu
     [not found] ` <1312330213.5759.82.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
2011-08-03  7:32   ` Hal Rosenstock
     [not found]     ` <4E38F9A8.6060200-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-08-03 15:39       ` Ira Weiny
     [not found]         ` <20110803083937.533c5227.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-08-03 15:44           ` Hal Rosenstock [this message]
     [not found]             ` <4E396CD6.80904-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-08-03 19:52               ` Ira Weiny

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=4E396CD6.80904@dev.mellanox.co.il \
    --to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=chu11-i2BcT+NCU+M@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=weiny2-i2BcT+NCU+M@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.