[ofa-general] OFED version macro

Isaac Huang He.Huang at Sun.COM
Tue Oct 23 02:20:56 PDT 2007


Hi,

I'm looking for something similar to LINUX_VERSION_CODE so that my
code can build against both OFED 1.1 and 1.2.x, since there's been
some API changes. But grepping through the headers didn't reveal
anything close to it. In particular, ib_create_cq prototype has
changed to take an extra parameter, how can I detect this at
preprocessing time?

Also, is interoperability between OFED 1.1 and 1.2.x supported?

Thanks,
Isaac



More information about the general mailing list