[ofw] RE: [PATCH] libibverbs add missing errno value

Smith, Stan stan.smith at intel.com
Fri Oct 30 16:13:00 PDT 2009


Hefty, Sean wrote:
>> Add missing errno value to verbs.h, per your recommendation.
>>
>> Signed-off-by: <stan.smith at intel.com>
>>
>> --- a/ulp/libibverbs/include/infiniband/verbs.h      Fri Oct 30 10:55:30
>> 2009 +++ b/ulp/libibverbs/include/infiniband/verbs.h Fri Oct 30
>> 09:42:18 2009 @@ -63,6 +63,8 @@ #define
>> EAFNOSUPPORT WV_INVALID_ADDRESS #define EWOULDBLOCK          WV_DEVICE_BUSY
>>
>> +#define ECONNRESET          WSAECONNRESET
>
> I think this is fine.  It at least keeps the error definitions
> together in a single place.  Proper use of errno needs to be added
> throughout the winof tree at some point.  MS only defines a small set
> of errno values though.

Done in svn.2525 commit

Revision: 2525
Author: stansmith
Date: 4:04:13 PM, Friday, October 30, 2009
Message:
[LIBIBVERBS] add ECONNRESET mapped to MSFT WSAECONNRESET for OFED porting.
----
Modified : /gen1/trunk/ulp/libibverbs/include/infiniband/verbs.h



More information about the ofw mailing list