From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: New providers in rdma-core Date: Wed, 19 Oct 2016 11:13:26 -0600 Message-ID: <20161019171326.GA29879@obsidianresearch.com> References: <20161019163913.GA30843@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20161019163913.GA30843-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Christoph Hellwig Cc: Leon Romanovsky , "Amrani, Ram" , Lijun Ou , aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org, Knut Omang , Doug Ledford , linux-rdma List-Id: linux-rdma@vger.kernel.org On Wed, Oct 19, 2016 at 09:39:13AM -0700, Christoph Hellwig wrote: > Requiring installed super updtodate kernel headers isn't going to > help development. It would be good to keep a copy of the kernel > headers in the rdma-core repo, similar to what most kernel tools > tied to bleeding edge ABIs do. Yes, this is already happening, eg rdma/rdma_user_rxe.h is cached in the tree, and I have a patch to move the rdma_netlink.h to that scheme as well. cmake has a scheme where it detects if the system header is too old/missing and if so transparently arranges things so that #include Uses the internal copy. I also want to add a cmake option to use the kernel headers from a kernel tree - nobody has been testing that changes to the kernel headers work with the user space either, and eg the changes the netlink broke stuff :/ Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html