Re: [openib-general] [RFC] Move InfiniBand .h files

Tom Duffy
2005-08-04T17:49:10Z

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

On Thu, 2005-08-04 at 10:32 -0700, Roland Dreier wrote:
> I would like to get people's reactions to moving the InfiniBand .h
> files from their current location in drivers/infiniband/include/ to
> include/linux/rdma/. If we agree that this is a good idea then I'll
> push this change as soon as 2.6.14 starts.

I think it is a great idea.

> The advantages of doing this are:
>
> - The headers become more easily accessible to other parts of the
> tree that might want to use IB support. For example, an NFS/RDMA
> client probably wants to live under fs/
> - It makes it easier to build IB modules outside the tree, since
> include/linux gets put in /lib/modules/<ver>/build. I realize
> that we don't really care about out-of-tree modules, but it is
> convenient to be able to develop and distribute new drivers that
> build against someone's existing kernels.
> - We can kill off the ugly
>
> EXTRA_CFLAGS += -Idrivers/infiniband/include
>
> lines in our Makefiles.

One more advantage:

- It shows our willingness to push past just infiniband.

-tduffy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]