public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* RFC: Consolidated userspace RDMA library repo
@ 2016-08-10  5:34 Jason Gunthorpe
       [not found] ` <20160810053437.GA22257-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Gunthorpe @ 2016-08-10  5:34 UTC (permalink / raw)
  To: Doug Ledford
  Cc: Steve Wise, 'Hefty, Sean', 'Christoph Hellwig',
	'Leon Romanovsky', 'Yishai Hadas',
	'linux-rdma', 'Yishai Hadas',
	'Matan Barak', 'Majd Dibbiny',
	talal-VPRAkNaXOzVWk0Htik3J/w

Hello everyone,

I have gone ahead and constructed a unified user space source repo
for almost all of the user space kernel interface components. This not
very hard just fussy. The biggest issue was harmonizing the divergent
builds into one single system.

This merging will help the distros and help streamline the forthcoming
API work.

It is not quite completed, but it is good enough for people to
comment on, I have a github repo here:

https://github.com/jgunthorpe/rdma-plumbing

After the first round of comments I can post a patch series starting
from the octopus merge commit, and with a bigger cc list..

Things to note:
 - Some git-wizardry was done to preserve the repository history. This
   works OK, but git is a bit wonky when it hits the octopus merge.
   All of the tags are preserved as well, though lightly renamed.
 - I used cmake for the unified build system, the auto* stuff had
   bitrotted so badly, and was never very nice to use anyhow.

   For developers I strongly recommend using it with ninja build
   (ninja-build.org), that provides a better-than-kbuild experience.
 - There is a 'tooling' branch that has a bunch of one time use
   scripts used to build this
      make-merge.py - Can be used to reproduce the octopus merge commit
      compare-build.py - Is used to study the build results to check
                         for breakage
      docker/do_docker.py - Docker containers and scripts for build
                            testing
 - The 'make install' target produces something nearly identical to
   running 'make install' on all the sub libraries. The commit
   messages discuss the differences.
 - I haven't looked at packaging, but that usually isn't too much more
   trouble.
 - Building is tested to work on Centos 7/6, Debian 8, Ubuntu 14.05/16.04

My hope is that Doug will step up as the unified maintainer, with a
process similar to the kernel. Most of the libraries are
unchanging/unmaintained/dead.

The following 15 repos were pulled together:

      libcxgb3 git://git.openfabrics.org/~swise/libcxgb3.git 0de0392268af3a657b329874b63b6ee827109508
      libcxgb4 git://git.openfabrics.org/~swise/libcxgb4.git 15d3253dc814da28e2b93ed02a8e9a96d97f20ae
      libhfi1verbs https://github.com/01org/opa-libhfi1verbs.git 377b68888a0b885fc2a44ddf7a2ec33f2fcf217b
      libi40iw git://git.openfabrics.org/~tnikolova/libi40iw/.git 9d35609f79d6a235e23182e9ceadf3605b2682da
      libibcm git://git.openfabrics.org/~shefty/libibcm.git b04920e8bfe0689a2fe67815321dcf646fd48a7e
      libibumad git://git.openfabrics.org/~halr/libibumad.git ecda3a56b18c6a2845f3d966f8b8061941f5d447
      libibverbs git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git 0be978ea2bfaf203c35334b090bddb280de62611
      libipathverbs https://github.com/01org/libipathverbs.git 8291d485f3a5544b43974e7be88f3646f35ae07c
      libmlx4 git://git.openfabrics.org/~yishaih/libmlx4.git 162f948c4e04753a15cfb7afcdf6219dbe0bc31e
      libmlx5 git://git.openfabrics.org/~yishaih/libmlx5.git f23f9aa7b9033cd8ebbd58d67d65e9b81d0525fa
      libmthca git://git.kernel.org/pub/scm/libs/infiniband/libmthca.git 6f4dd7451ddef120247e13fa6cb8e1df69c3ddf9
      libnes git://git.openfabrics.org/~tnikolova/libnes/.git 7dc7cf2474612ec909bff251096ca2aefa9cddf1
      libocrdma git://git.openfabrics.org/~emulex/libocrdma.git 41f6bbb3fe8129678c233da439d872b3fe9f75dc
      librdmacm git://git.openfabrics.org/~shefty/librdmacm.git 032bbe60ad32d59004447e03061a9f6d632cc55f
      librxe https://github.com/SoftRoCE/librxe-dev.git 227e3c49b6e423c066e1e1887fe30c8261f63cbd

Which, I think, represents all the user space providers for the kernel
side, and all the libraries that touch kernel char devs.

I was looking at iwpm as well, but I don't know too much about what
that is..

libacm and libibmad may also be candidates, but they fall outside my
initial critiera of talking directly to the kernel.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Consolidated userspace RDMA library repo
       [not found] ` <20160810053437.GA22257-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2016-08-10 14:37   ` Steve Wise
  2016-08-10 14:50   ` Steve Wise
  1 sibling, 0 replies; 4+ messages in thread
From: Steve Wise @ 2016-08-10 14:37 UTC (permalink / raw)
  To: 'Jason Gunthorpe', 'Doug Ledford'
  Cc: 'Hefty, Sean', 'Christoph Hellwig',
	'Leon Romanovsky', 'Yishai Hadas',
	'linux-rdma', 'Yishai Hadas',
	'Matan Barak', 'Majd Dibbiny',
	talal-VPRAkNaXOzVWk0Htik3J/w

> 
> Hello everyone,
> 
> I have gone ahead and constructed a unified user space source repo
> for almost all of the user space kernel interface components. This not
> very hard just fussy. The biggest issue was harmonizing the divergent
> builds into one single system.
> 
> This merging will help the distros and help streamline the forthcoming
> API work.
>

Hey Jason, thanks for getting the ball rolling on this.

<snip>

> 
> I was looking at iwpm as well, but I don't know too much about what
> that is..
> 

I think iwpm should be added, it is the user component needed for iWARP port
mapping.

Steve.

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Consolidated userspace RDMA library repo
       [not found] ` <20160810053437.GA22257-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  2016-08-10 14:37   ` Steve Wise
@ 2016-08-10 14:50   ` Steve Wise
  2016-08-11 15:00     ` 'Christoph Hellwig'
  1 sibling, 1 reply; 4+ messages in thread
From: Steve Wise @ 2016-08-10 14:50 UTC (permalink / raw)
  To: 'Jason Gunthorpe', 'Doug Ledford'
  Cc: 'Hefty, Sean', 'Christoph Hellwig',
	'Leon Romanovsky', 'Yishai Hadas',
	'linux-rdma', 'Yishai Hadas',
	'Matan Barak', 'Majd Dibbiny',
	talal-VPRAkNaXOzVWk0Htik3J/w

Am I doing something dumb?

[root@stevo1 build]# git clone git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:jgunthorpe/rdma-plumbing.git
[root@stevo1 build]# cd rdma-plumbing
[root@stevo1 build]# mkdir build
[root@stevo1 build]# cd build
[root@stevo1 build]# cmake -GNinja
CMake Error: The source directory "/usr/local/src/rdma-plumbing/build" does not
appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[root@stevo1 build]#

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Consolidated userspace RDMA library repo
  2016-08-10 14:50   ` Steve Wise
@ 2016-08-11 15:00     ` 'Christoph Hellwig'
  0 siblings, 0 replies; 4+ messages in thread
From: 'Christoph Hellwig' @ 2016-08-11 15:00 UTC (permalink / raw)
  To: Steve Wise
  Cc: 'Jason Gunthorpe', 'Doug Ledford',
	'Hefty, Sean', 'Christoph Hellwig',
	'Leon Romanovsky', 'Yishai Hadas',
	'linux-rdma', 'Yishai Hadas',
	'Matan Barak', 'Majd Dibbiny',
	talal-VPRAkNaXOzVWk0Htik3J/w

Eww, cmake.  That's going to be painful.  Sticking to a standard
build system will defintively make this more easily adopted..
--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-11 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10  5:34 RFC: Consolidated userspace RDMA library repo Jason Gunthorpe
     [not found] ` <20160810053437.GA22257-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-08-10 14:37   ` Steve Wise
2016-08-10 14:50   ` Steve Wise
2016-08-11 15:00     ` 'Christoph Hellwig'

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox