[openib-general] [libibcm] compilation of code that uses libibcm may fail

Hal Rosenstock halr at voltaire.com
Tue Aug 8 11:49:55 PDT 2006


On Tue, 2006-08-08 at 14:20, Sean Hefty wrote:
> Hal Rosenstock wrote:
> >>enum ib_cm_sidr_status {
> >> 0,
> >> 1,
> >> 2,
> >> 3,
> >> 4,
> >> IB_SIDR_UNSUPPORTED_VERSION
> >>};
> ...
> >>
> >>#define IB_SIDR_SUCCESS                                         0
> >>#define IB_SIDR_UNSUPPORTED                                     1
> >>#define IB_SIDR_REJECT                                          2
> >>#define IB_SIDR_NO_QP                                           3
> >>#define IB_SIDR_REDIRECT                                        4
> ...
> > There is a slight naming inconsistency here. The ib_types.h definition
> > name should be IB_SIDR_UNSUPPORTED_VER. Do you have an old version of
> > this file ?
> 
> IB_SIDR_UNSUPPORT_VERSION was the name in cm.h,

I thought it was IB_SIDR_UNSUPPORTED_VERSION. ib_types.h uses
IB_SIDR_UNSUPPORTED_VER.

-- Hal

>  which is why it was left 
> unchanged.  The other 5 names were the same.
> 
> - Sean





More information about the general mailing list