[openib-general] rdma/ib_verbs.h
Suresh Shelvapille
suri at baymicrosystems.com
Fri Oct 14 14:38:01 PDT 2005
I am not sure when I SVNed but, I have the same files under both include/
and include/rdma in my copy of the Infiniband tree!!
So, there should not be any header files under 'include', but they should
all be under include/rdma?
Please clarify...thanks,
Suri
> -----Original Message-----
> From: Roland Dreier [mailto:rolandd at cisco.com]
> Sent: Friday, October 14, 2005 5:30 PM
> To: Suresh Shelvapille
> Cc: openib-general at openib.org
> Subject: Re: [openib-general] rdma/ib_verbs.h
>
> Suresh> Folks: While writing a switch driver, I noticed that the
> Suresh> alloc_pd and create_cq function signatures are different
> Suresh> depending on rdma/ib_verbs.h vs. ib_verbs.h. I don't need
> Suresh> RDMA for now, so going with the func signature as in
> Suresh> ib_verbs.h is OK or is there a necessity to use
> Suresh> rdma/ib_verbs.h?
>
> Which two files are you comparing? There should only be one
> ib_verbs.h file in your kernel tree. Otherwise you're just asking for
> trouble. You may be getting confused because the include files were
> moved from drivers/infiniband/ to include/rdma/ between kernel version
> 2.6.13 and 2.6.14-rc1.
>
> However the files were just moved. You should just work against the
> latest version of ib_verbs.h when writing your driver.
>
> - R.
More information about the general
mailing list