From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Ira Weiny <iweiny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] libibumad: add string functions for various enums
Date: Sat, 02 Mar 2013 08:36:34 -0500 [thread overview]
Message-ID: <51320062.8090206@dev.mellanox.co.il> (raw)
In-Reply-To: <CAMLCd9L2gkMEAxo2evE66R55RcGPct2WWre=wBav1zYTkA3Pdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 3/1/2013 8:56 PM, Ira Weiny wrote:
> Resend to the list. My phone apparently sends html which was rejected.
>
> On Fri, Mar 1, 2013 at 5:51 PM, Ira Weiny <iweiny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> Never mind. I was thinking the check for busy and redirect were "==" not a
>> mask.
>>
>> Sorry many things going on today.
>>
>> So I think we are good then?
If this is referring to reserved values in the Code for invalid field in
the status field (and not a reserved field), then yes, we're good.
-- Hal
>>
>> Ira
>>
>>
>>
>> "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>>>
>>>> If those reserve fields are either A) not correctly set to 0 or B) are
>>>> used for
>>>>
>>>> some future status this function will fail. Since the spec says to
>>>> ignore them
>>>> I would do something like.
>>>>
>>>> status = ntohs(status);
>>>> status &= 0x001F;
>>>>
>>>> With a #define'd mask for 1F of course... ;-)
>>>
>>>
>>> Your proposed implementation already ignores those bits. I'm confused.
>>> --
>>> 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
>>
>>
>> --
>> www.lightcipher.com
>
>
>
--
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
next prev parent reply other threads:[~2013-03-02 13:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 19:40 [PATCH] libibumad: add string functions for various enums Ira Weiny
[not found] ` <20130301114034.85fdbe136d503d803cb167ae-i2BcT+NCU+M@public.gmane.org>
2013-03-01 21:30 ` Hal Rosenstock
[not found] ` <51311E07.8070209-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-03-01 21:33 ` Ira Weiny
[not found] ` <20130301133305.29edc9171b3a264b277e34ed-i2BcT+NCU+M@public.gmane.org>
2013-03-01 22:05 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A823736F3561BF-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-03-01 22:08 ` Ira Weiny
[not found] ` <20130301140811.99423e66848a1509e08bc5ec-i2BcT+NCU+M@public.gmane.org>
2013-03-01 22:28 ` Hefty, Sean
[not found] ` <24c3c83e-bd79-4e10-8569-6106860d43a1@email.android.com>
[not found] ` <24c3c83e-bd79-4e10-8569-6106860d43a1-2ueSQiBKiTY7tOexoI0I+QC/G2K4zDHf@public.gmane.org>
2013-03-02 1:56 ` Ira Weiny
[not found] ` <CAMLCd9L2gkMEAxo2evE66R55RcGPct2WWre=wBav1zYTkA3Pdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-02 13:36 ` Hal Rosenstock [this message]
2013-03-07 11:36 ` Hal Rosenstock
-- strict thread matches above, loose matches on Subject: below --
2013-02-22 17:13 Ira Weiny
[not found] ` <20130222091333.57b91bbb5957928eeb0e62a7-i2BcT+NCU+M@public.gmane.org>
2013-02-22 18:27 ` Hal Rosenstock
[not found] ` <5127B87E.5020907-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-02-22 19:23 ` Ira Weiny
[not found] ` <20130222112315.9469e2a6003a98d26d2f1ec5-i2BcT+NCU+M@public.gmane.org>
2013-02-22 19:24 ` Hal Rosenstock
2013-02-22 20:23 ` Jason Gunthorpe
[not found] ` <20130222202314.GB10206-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2013-02-22 20:56 ` Hal Rosenstock
[not found] ` <5127DB75.60709-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-02-22 21:01 ` Jason Gunthorpe
[not found] ` <20130222210117.GB15093-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2013-02-22 21:11 ` Ira Weiny
2013-02-22 18:47 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A823736F352A97-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-02-22 19:19 ` Ira Weiny
[not found] ` <20130222111908.2f8b1e56a8f67396a91a3893-i2BcT+NCU+M@public.gmane.org>
2013-02-22 20:00 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A823736F352B11-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-02-22 23:07 ` Ira Weiny
[not found] ` <20130222150713.ca761aa639c497c483d9a938-i2BcT+NCU+M@public.gmane.org>
2013-02-23 0:53 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A823736F352C29-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2013-02-23 4:46 ` 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=51320062.8090206@dev.mellanox.co.il \
--to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=iweiny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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