RFCv3: Consolidated userspace RDMA library repo
Hello Everyone,
I've updated the repo, and I think we are now at the point to begin to engage the distribution packagers and collect their feedback. As Doug has suggested, there are many modifications that the distros have done that could be folded back upstream.
It is available at:
https://github.com/jgunthorpe/rdma-plumbing
Prior posts on this topic are still informative:
http://www.spinics.net/lists/linux-rdma/msg39026.html
http://www.spinics.net/lists/linux-rdma/msg39328.html
http://www.spinics.net/lists/linux-rdma/msg40014.html
The patch series has several notable improvements since last time, based on feedback:
- If valgrind headers are available they are used by default
- Static libraries are not built by default
- If libnl is not present cmake fails by default
- NDEBUG is on for Release builds but off for RelWithDebInfo (default) builds
- -fno-strict-aliasing is copied from upstream and applied minimally
- srptools and iwpmd are included
- Further build integration, removal of dead #ifdefs
- Warning free build on new compilers
- Start on stripping out the -abi.h mess
- Demo rpm spec file that runs on OpenSuSE 13.2/14.1/tumbleweed, FC24, CentOS6/7 and maybe others.
The big set piece of this update is to make the compile warning-free with "-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter" on gcc and clang.
This is a fairly high warning level and actually found some very intersting things, my earlier patch series encompasses this stuff.
One area that needs some feedback is how far back should we bother to support warning-free compile with gcc. Currently only gcc 6.1and clang 3.8 are warning free.
This is mainly to do with -Wmaybe-uninitialized on older compilers that lack the static analysis that gcc now has. I know Linus has in-the-past come out against uninitialized_var,
(https://lkml.org/lkml/2012/10/26/508) and indeed gcc 6.1 noticed one probable-bug in mlx5 being suppressed by using this inappropriately.
Some options:
- Have cmake set -Wno-maybe-uninitialized on old compiles and forget about it
- Annotate in zero initializers in the few places, maybe with some kind of macro
- Leave it as is, recommend developers use gcc 6.1 or clang 3.8
Since clang throws a hissy fit with the x=x construction I've deleted it from the tree..
For this update I am going to not post patches again, the series is now up to 57 commits and that is too many for the mailing list.
This next major step will be to track down the packagers in distros and inform them of the plan to collect feedback.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Jason Gunthorpe
Hello Everyone,
I've updated the repo, and I think we are now at the point to begin to engage the distribution packagers and collect their feedback. As Doug has suggested, there are many modifications that the distros have done that could be folded back upstream.
It is available at:
https://github.com/jgunthorpe/rdma-plumbing
The simple git pull from v2 on master fails. Do I need to clone it again?
Thanks
Quoted 8 lines · Leon Romanovsky
Quoted 7 lines · Jason Gunthorpe
Hello Everyone,
I've updated the repo, and I think we are now at the point to begin to engage the distribution packagers and collect their feedback. As Doug has suggested, there are many modifications that the distros have done that could be folded back upstream.
Quoted 5 lines
Quoted 2 lines
It is available at:
https://github.com/jgunthorpe/rdma-plumbingThe simple git pull from v2 on master fails. Do I need to clone it again?
The tree is still in the rebase phase, so 'git fetch --all' followed by 'git reset --hard origin/master' or 'git rebase -i origin/master + fiddling' to preserve local commits
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 12 lines · Jason Gunthorpe
Quoted 11 lines · Leon Romanovsky
Quoted 9 lines · Jason Gunthorpe
Hello Everyone,
I've updated the repo, and I think we are now at the point to begin to engage the distribution packagers and collect their feedback. As Doug has suggested, there are many modifications that the distros have done that could be folded back upstream.
It is available at:
https://github.com/jgunthorpe/rdma-plumbing
Quoted 6 lines
Quoted 2 lines
The simple git pull from v2 on master fails. Do I need to clone it again?
The tree is still in the rebase phase, so 'git fetch --all' followed by 'git reset --hard origin/master' or 'git rebase -i origin/master + fiddling' to preserve local commits
Thanks
Quoted 2 lines
Jason
Quoted 7 lines · Jason Gunthorpe
Hello Everyone,
I've updated the repo, and I think we are now at the point to begin to engage the distribution packagers and collect their feedback. As Doug has suggested, there are many modifications that the distros have done that could be folded back upstream.
Quoted 7 lines
It is available at:
https://github.com/jgunthorpe/rdma-plumbingPrior posts on this topic are still informative:
http://www.spinics.net/lists/linux-rdma/msg39026.html
http://www.spinics.net/lists/linux-rdma/msg39328.html
http://www.spinics.net/lists/linux-rdma/msg40014.html
Looks to me that librdmacm is missing some patches. Sean moved this repo from the OFA server to github some time ago. What repo was used as basis for librdmacm in rdma-plumbing ?
-- Hal
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Hal Rosenstock
Quoted 10 lines · Jason Gunthorpe
Hello Everyone,
I've updated the repo, and I think we are now at the point to begin to engage the distribution packagers and collect their feedback. As Doug has suggested, there are many modifications that the distros have done that could be folded back upstream.
It is available at:
https://github.com/jgunthorpe/rdma-plumbing
Quoted 8 lines
Quoted 4 lines
Prior posts on this topic are still informative:
http://www.spinics.net/lists/linux-rdma/msg39026.html
http://www.spinics.net/lists/linux-rdma/msg39328.html
http://www.spinics.net/lists/linux-rdma/msg40014.htmlLooks to me that librdmacm is missing some patches. Sean moved this repo from the OFA server to github some time ago. What repo was used as basis for librdmacm in rdma-plumbing ?
Yep, good catch Hal, this is using the old URL.
I largely used https://openfabrics.org/downloads/MAINTAINERS as a reference, so whoever is reposible should updated it I guess.
I've switched to https://github.com/ofiwg/librdmacm.git, and updated the github.
Here is the list of trees if you can see any other mistakes:
"git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git",
"git://git.kernel.org/pub/scm/libs/infiniband/libmthca.git",
"git://git.openfabrics.org/~bvanassche/srptools.git",
"git://git.openfabrics.org/~emulex/libocrdma.git",
"git://git.openfabrics.org/~halr/libibumad.git",
"git://git.openfabrics.org/~shefty/libibcm.git",
"git://git.openfabrics.org/~swise/libcxgb3.git",
"git://git.openfabrics.org/~swise/libcxgb4.git",
"git://git.openfabrics.org/~tnikolova/libi40iw/.git",
"git://git.openfabrics.org/~tnikolova/libiwpm",
"git://git.openfabrics.org/~tnikolova/libnes/.git",
"git://git.openfabrics.org/~yishaih/libmlx4.git",
"git://git.openfabrics.org/~yishaih/libmlx5.git",
"https://github.com/01org/libipathverbs.git",
"https://github.com/01org/opa-libhfi1verbs.git",
"https://github.com/SoftRoCE/librxe-dev.git",
"https://github.com/ofiwg/librdmacm.git",(see https://github.com/jgunthorpe/rdma-plumbing/blob/tooling/buildlib/make-merge.py)
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Jason Gunthorpe
I've switched to https://github.com/ofiwg/librdmacm.git, and updated the github.
There's also https://github.com/shefty/librdmacm.git which has 2 more commits than the github ofiwg repo. I think that may be the most up to date repo.
-- Hal
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Hal Rosenstock
Quoted 2 lines · Jason Gunthorpe
I've switched to https://github.com/ofiwg/librdmacm.git, and updated the github.
There's also https://github.com/shefty/librdmacm.git which has 2 more commits than the github ofiwg repo. I think that may be the most up to date repo.
What a mess. Lets let Sean comment when he gets back :(
They look like legit patches though.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Hal Rosenstock
Quoted 7 lines · Jason Gunthorpe
Quoted 2 lines
I've switched to https://github.com/ofiwg/librdmacm.git, and updated the github.
There's also https://github.com/shefty/librdmacm.git which has 2 more commits than the github ofiwg repo. I think that may be the most up to date repo.
Quoted 6 lines
What a mess. Lets let Sean comment when he gets back :(
They look like legit patches though.
Jason
--
I think the ofiwg is the correct repo, according to his announcement:
http://www.spinics.net/lists/linux-rdma/msg33584.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Steve Wise
Quoted 11 lines · Hal Rosenstock
Quoted 7 lines · Jason Gunthorpe
Quoted 2 lines
I've switched to https://github.com/ofiwg/librdmacm.git, and updated the github.
There's also https://github.com/shefty/librdmacm.git which has 2 more commits than the github ofiwg repo. I think that may be the most up to date repo.
What a mess. Lets let Sean comment when he gets back :(
Quoted 10 lines
Quoted 4 lines
They look like legit patches though.
Jason
--I think the ofiwg is the correct repo, according to his announcement:
I think ofiwg is the official repo, and the other is his personal repo. Much like I use k.o as my official repo and github as my early release repo.
Signature · 2 lines
Doug Ledford <[email protected]> GPG Key ID: 0E572FDD
Quoted 3 lines · Hal Rosenstock
There's also https://github.com/shefty/librdmacm.git which has 2 more commits than the github ofiwg repo. I think that may be the most up to date repo.
Oh, yikes. Can't wait for a single central repo that has all the current code in one place..
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines
I think ofiwg is the official repo, and the other is his personal repo. Much like I use k.o as my official repo and github as my early release repo.
Correct. I had manually merged patches sent into linux-rdma into my personal repo, and was just lacking the PR to merge those into the upstream repo. I've merged the pending changes in (minor updates to test programs).
The ofiwg repo is intended as the official repo, as it would allow group maintainership.
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html