[ofa-general] Re: Version number on ibverbs headers

Michael S. Tsirkin mst at dev.mellanox.co.il
Tue Aug 7 02:18:16 PDT 2007


> 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?
	
-- 
MST



More information about the general mailing list