[ofa-general] IB function calls in kernel module fail

Brian J. Murrell brian at sun.com
Tue Feb 17 09:52:23 PST 2009


On Tue, 2009-02-17 at 11:57 +0200, Tziporet Koren wrote:
> neutron wrote:
> > One remaining question.
> >
> > In my code of kernel module,   do I need to #include the header files
> > from <ofed-prefix>/src/openib/include/....
> > Or I just include the header files from  <kernel_src_dir>/include/.....
> >
> >   
> You should use the headers from ofed if you wish to use OFED kernel modules.

Ahhh.  But should he just include <ofed-prefix>/src/openib/include/ or
also
<ofed-prefix>/src/openib/kernel_addons/backport/<kernel_ver>/include/
(as described in <ofed-prefix>/src/openib/ofed_patch.mk as well?

And in what order should these be specified in?

b.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090217/e05f0553/attachment.sig>


More information about the general mailing list