On Thu, Aug 24, 2017 at 09:27:13AM -0600, Jason Gunthorpe wrote: > On Thu, Aug 24, 2017 at 03:23:28PM +0300, Leon Romanovsky wrote: > > > For the development, I use ability of rdma-core to run everything in > > place and I don't install anything. I compile with build.sh supplied > > in rdma-core and adjust Makefiles to point to build/lib|include directories > > without need to install. > > For development you can also tell rdma-core to refer to the kernel > source tree directly and it will immediately use those kernel > header for RDMA. No need to install things and wreck your distro. > > # -DKERNEL_DIR='.../linux' (default '') > # If set use the kernel UAPI headers from this kernel source > # tree. > We need to change default to '.../linux-rdma', so it will work out of the box for me :) > Jason