2. ibtrapgen sm_lid bug
git-svn-id: svn://openib.tc.cornell.edu/gen1@278
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
p_ibtrapgen->p_opt->lid,
p_ibtrapgen->p_opt->number );
- printf("-V- SM lid is : 0x%04X\n",p_ibtrapgen->p_opt->sm_lid);
- mad_addr.dest_lid = cl_ntoh16(p_ibtrapgen->p_opt->sm_lid);
+ printf("-V- SM lid is : 0x%04X\n",cl_ntoh16(p_ibtrapgen->p_opt->sm_lid));
+ mad_addr.dest_lid = (p_ibtrapgen->p_opt->sm_lid);
/* ??? - what is path_bits? What should be the value here?? */
mad_addr.path_bits = 0;
/* ??? - what is static_rate? What should be the value here?? */
#define AL_INLINE static inline
#else
#define AL_API __stdcall
- #define AL_INLINE AL_EXPORT inline
+ #define AL_INLINE static inline
/* Defined for some unique access function that are defined only in osm ib_types */
#define OSM_INLINE static inline
#endif /* CL_KERNEL */
#define AL_INLINE static inline
#else
#define AL_API __stdcall
- #define AL_INLINE AL_EXPORT inline
+ #define AL_INLINE static inline
#endif /* CL_KERNEL */
#else
#define AL_EXPORT extern