[openib-general] version #defines for the kernel

Or Gerlitz ogerlitz at voltaire.com
Sat Dec 9 23:50:37 PST 2006


Eric Barton wrote:
>>  > Actually a single OFED version #define would most probably 
>>  > suit my purposes -
>>  > is that controversial?
>>
>> It might be sensible for OFED to supply that, if it's going to
>> backport drivers to old kernels.  But you should also cope with
>> non-OFED (vanilla upstream) drivers, probably by testing
>> LINUX_VERSION_CODE too I suppose.
> 
> How about an OpenFabrics API version #define?

The IB drivers provided by OFED are based on the mainline kernel ones, 
moreover, the existence of OFED is temporal, over time, distros would 
peek the IB code by themselves using releases of the linux kernel and of 
user space packages (libraries).

There is no point in adding a version-ing system.

Or.





More information about the general mailing list