[ewg] RE: Version number on ibverbs headers

Steffen Persvold steffen.persvold at scali.com
Tue Aug 7 02:24:20 PDT 2007


> -----Original Message-----
> From: Michael S. Tsirkin [mailto:mst at dev.mellanox.co.il]
> Sent: Tuesday, August 07, 2007 5:18 AM
> To: Steffen Persvold
> Cc: general at lists.openfabrics.org; ewg at lists.openfabrics.org
> Subject: Re: Version number on ibverbs headers
> 
> > Quoting Steffen Persvold <steffen.persvold at scali.com>:
> > Subject: Version number on ibverbs headers
> >
> > Hi,
> >
> > Would it be possible to add a version number define to verbs.h to
> > reflect the API version ?
> >
> > For example :
> >
> > #define IBVERBS_VERSION_MAJOR 1
> > #define IBVERBS_VERSION_MINOR 1
> >
> > ?
> >
> > Makes it easier for dynamic code to compile and work on different
> > ibverbs versions (1.0 and 1.1 for example).
> 
> Wouldn't configure checks for specific API's be better?
> 

Not everyone uses autoconf/automake... But, I don't see any reason why
you can't have both (configure checks, *and* header info).

Cheers,

Steffen Persvold
Software Development Manager
tel. +47 924 84 511

http://www.scali.com/
Higher Performance Computing




More information about the ewg mailing list