From unknown Sat Aug 16 11:09:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#26257 <26257@debbugs.gnu.org> To: bug#26257 <26257@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add rdma-core. Reply-To: bug#26257 <26257@debbugs.gnu.org> Date: Sat, 16 Aug 2025 18:09:29 +0000 retitle 26257 [PATCH] gnu: Add rdma-core. reassign 26257 guix-patches submitter 26257 Marius Bakke severity 26257 normal tag 26257 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 25 16:34:19 2017 Received: (at submit) by debbugs.gnu.org; 25 Mar 2017 20:34:19 +0000 Received: from localhost ([127.0.0.1]:44679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crsO4-0006Rf-Iy for submit@debbugs.gnu.org; Sat, 25 Mar 2017 16:34:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crsO2-0006RT-9j for submit@debbugs.gnu.org; Sat, 25 Mar 2017 16:34:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crsNv-0007WA-Hm for submit@debbugs.gnu.org; Sat, 25 Mar 2017 16:34:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1crsNv-0007W0-F5 for submit@debbugs.gnu.org; Sat, 25 Mar 2017 16:34:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crsNt-0007s3-Ph for guix-patches@gnu.org; Sat, 25 Mar 2017 16:34:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crsNp-0007Ub-RB for guix-patches@gnu.org; Sat, 25 Mar 2017 16:34:01 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60426) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1crsNp-0007UQ-Nl for guix-patches@gnu.org; Sat, 25 Mar 2017 16:33:57 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6E5ED20A4F; Sat, 25 Mar 2017 16:33:57 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 25 Mar 2017 16:33:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=tPY+GXuD9KZZPLqgwUIr4gyn0qLFpJ1NxutVnRPyB 5Y=; b=WUjScNC7QNsK2obVd+JlZVlhMvXCk94pO6BIlekLDVCYmQLN/vR3sUPuk ZUwN+wijmTK/Gn2BbnzNIf7bG++9j+ZNtlhpoNr9B7AAPOWt9Z2jITVN4++T2qjm 041Vc0m9FPYpR0cI+nCtyTLlB4besovTFFvmCZPmy+e346O2ZqKars0QbPl2ePc2 RhiprUoZHfdG+d2SnU7280M707zTuXj9kmEb++mzELOzk1JHX0KlP7MvUAlAnuvZ 5EYSEEYGkRMY4UTTOm9vXlsXN01IC9s4+ShW1Lz3pCU+MBBNH9QvUoMVc5rolenZ kpUzlP5zwgBHNqfKKfIKR5OyS2/8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=tPY+GXuD9KZZPLqgwU Ir4gyn0qLFpJ1NxutVnRPyB5Y=; b=X+q7XoGRRC3ET79uJp6hPZRFnZNf1tA09B 6DqCbFMHOM88OrgOkYJmaADLwShaSSn9f4UVNtknhr18KWQhEPJ6zxbLm6AKNvWZ 1aQ6ZxM/1tWLuYRmTMYGntIbP9E0ef4UWMTdPKROeZWDB8pl8N2qf8HyafGTgt/r Udbe4RxJ9dhwNC1orW3zmJzLptioXecr+D7SXOHdO7E2luJjw0tKtO5pu3gLbm3c 3mlmuClyVELkHotgYrUwu44lwJ5KHsSjf/ZHoGoPn8zaSIhdlNhf7wKXeGVqumuU E+f9S5t+NrYQYVSyatEXAnvkULtIWYJgJS8htRlrk1tJ13ZkGQug== X-ME-Sender: X-Sasl-enc: Mz9MTXyASjFNm6FvsR7Tly71D4qK+3+/EayeGu/OnARZ 1490474036 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id ED866245D2; Sat, 25 Mar 2017 16:33:56 -0400 (EDT) From: Marius Bakke To: guix-patches@gnu.org Subject: [PATCH] gnu: Add rdma-core. Date: Sat, 25 Mar 2017 21:33:53 +0100 Message-Id: <20170325203353.15515-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit Cc: Marius Bakke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.6 (/) * gnu/packages/linux.scm (rdma-core): New variable. --- gnu/packages/linux.scm | 70 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0a1c50040..393224faa 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 John Darrington -;;; Copyright © 2016 Marius Bakke +;;; Copyright © 2016, 2017 Marius Bakke ;;; Copyright © 2016 Rene Saavedra ;;; Copyright © 2016 ng0 ;;; Copyright © 2017 Leo Famulari @@ -69,6 +69,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) + #:use-module (gnu packages ninja) #:use-module (gnu packages perl) #:use-module (gnu packages pciutils) #:use-module (gnu packages pkg-config) @@ -3029,6 +3030,73 @@ commonly found on Microsoft Windows. It is implemented as a FUSE file system. The package provides additional NTFS tools.") (license license:gpl2+))) +(define-public rdma-core + (package + (name "rdma-core") + (version "13") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/linux-rdma/rdma-core" + "/releases/download/v" version "/rdma-core-" + version ".tar.gz")) + (sha256 + (base32 + "15qdfqkia22vab1dh41s88vgi70yifi40ar5s4x7a456rpbhy8z5")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; no tests + ;; Upstream uses the "ninja" build system and encourage distros + ;; to do the same for consistency. They also recommend using the + ;; "Release" build type. + #:configure-flags (list "-GNinja" + ;; Defaults to "lib64" on 64-bit archs. + (string-append "-DCMAKE_INSTALL_LIBDIR=" + (assoc-ref %outputs "out") "/lib") + "-DCMAKE_BUILD_TYPE=Release") + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda _ + (zero? (system* "ninja" + "-j" (number->string (parallel-job-count)))))) + (replace 'install + (lambda _ + (zero? (system* "ninja" "install"))))))) + (native-inputs + `(("ninja" ,ninja) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper))) + (inputs + `(("libnl" ,libnl) + ("udev" ,eudev))) + (home-page "https://github.com/linux-rdma/rdma-core") + (synopsis "Utilities and libraries for working with RDMA devices") + (description + "This package provides the userspace components for the InfiniBand +subsystem of the Linux kernel. Specifically it contains userspace libraries +for the following device nodes: + +@enumerate +@item @file{/dev/infiniband/uverbsX} (@code{libibverbs}) +@item @file{/dev/infiniband/rdma_cm} (@code{librdmacm}) +@item @file{/dev/infiniband/umadX} (@code{libibumad}) +@end enumerate + +The following service daemons are also provided: +@enumerate +@item @code{srp_daemon} (for the @code{ib_srp} kernel module) +@item @code{iwpmd} (for iwarp kernel providers) +@item @code{ibacm} (for InfiniBand communication management assistant) +@end enumerate") + ;; The package is dual licensed under GPL2 and a custom MIT variant. + ;; It also includes some components covered by other licenses. + (license + (list license:gpl2 + (license:x11-style "See COPYING.BSD_MIT in the distribution") + license:bsd-2 ; Files referring to COPYING.BSD_FB + license:cc0 ; most files in ccan/ + license:bsd-3)))) ; providers/hfi1verbs are dual GPL2/BSD-3 + (define-public rng-tools (package (name "rng-tools") -- 2.12.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 27 07:56:08 2017 Received: (at 26257) by debbugs.gnu.org; 27 Mar 2017 11:56:08 +0000 Received: from localhost ([127.0.0.1]:46925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csTFo-0006d9-AN for submit@debbugs.gnu.org; Mon, 27 Mar 2017 07:56:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csTFm-0006ci-Gl for 26257@debbugs.gnu.org; Mon, 27 Mar 2017 07:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csTFe-0007kl-5X for 26257@debbugs.gnu.org; Mon, 27 Mar 2017 07:56:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csTFe-0007kg-2M; Mon, 27 Mar 2017 07:55:58 -0400 Received: from [193.50.110.68] (port=35260 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1csTFd-0002Ve-Aw; Mon, 27 Mar 2017 07:55:57 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Marius Bakke Subject: Re: bug#26257: [PATCH] gnu: Add rdma-core. References: <20170325203353.15515-1-mbakke@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 27 Mar 2017 13:55:54 +0200 In-Reply-To: <20170325203353.15515-1-mbakke@fastmail.com> (Marius Bakke's message of "Sat, 25 Mar 2017 21:33:53 +0100") Message-ID: <87fuhzj5md.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26257 Cc: 26257@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marius Bakke skribis: > * gnu/packages/linux.scm (rdma-core): New variable. LGTM! > + (home-page "https://github.com/linux-rdma/rdma-core") > + (synopsis "Utilities and libraries for working with RDMA devices") > + (description > + "This package provides the userspace components for the InfiniBand > +subsystem of the Linux kernel. Specifically it contains userspace libra= ries > +for the following device nodes: > + > +@enumerate > +@item @file{/dev/infiniband/uverbsX} (@code{libibverbs}) > +@item @file{/dev/infiniband/rdma_cm} (@code{librdmacm}) > +@item @file{/dev/infiniband/umadX} (@code{libibumad}) > +@end enumerate > + > +The following service daemons are also provided: > +@enumerate > +@item @code{srp_daemon} (for the @code{ib_srp} kernel module) > +@item @code{iwpmd} (for iwarp kernel providers) > +@item @code{ibacm} (for InfiniBand communication management assistant) > +@end enumerate") I was wondering whether this code was relying on proprietary InfiniBand drivers, which would not be okay, but find $LINUX_MODULE_DIRECTORY -name ib\*ko shows a bunch of drivers, including =E2=80=98ib_srp=E2=80=99 (mentioned abo= ve), so I guess this is fine. Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 28 11:08:23 2017 Received: (at 26257-done) by debbugs.gnu.org; 28 Mar 2017 15:08:23 +0000 Received: from localhost ([127.0.0.1]:49480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cssjP-0002ji-EP for submit@debbugs.gnu.org; Tue, 28 Mar 2017 11:08:23 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cssjN-0002ja-UN for 26257-done@debbugs.gnu.org; Tue, 28 Mar 2017 11:08:22 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6D14120A26; Tue, 28 Mar 2017 11:08:21 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 28 Mar 2017 11:08:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=mKJUIyw9d2KFn3NVi/+2mkEC3TzQ8PDvbmMHNnFKK 5w=; b=0kc38VxJhOBFWY0ooeukZTeY7AQBfhQqKsjaWYzHTE+eGcjSeYVC78ZYL knp2/RuXEEazVLlECT6+QbZDuTVufAvTCvFlW0974c5bTbJFAIoJx8rLJ9um18Qj dPeyo3A4fyZ1yFrVKCbQytd5MIPcrdXgtQJ8tvBOzflm0FKmxEYM4/ZKba4JIX3h OEWQEomq7yOvO8ABviMIy5oBaBY766gunzrCSHKPXCgQ9go5zWDCrOYDdEEHohTM lVP47Dzy4iTMA4pUzpHDwbKOrkKna6u93O+wdEE+xIAa36Mr+VmnLFFFa1ouhLCG yJ6/zMvCkcan8wHSpZIYaonToi/9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=mKJUIyw9d2KFn3NVi/ +2mkEC3TzQ8PDvbmMHNnFKK5w=; b=eZOB0UxvFpwfG0Ei+9/a0K3OInWAu5IiAv ZjSceV/qVk4h7ehy3C3nRqOkE91D2cYNM+yyOadvO5avE69rmqPrFvO/thw5hSdB JB7BvzLMB9kx1e5NIydqqAeZhJy4c4P+VdfsCeti2ndRmJ6tPhvwZAY5sJ8ZvWsz LqF0hhyPNkX/a0qsRl6OGsqn5FOmBtsIwsy2mHFnprBNeRCufEmVMp/sjQR6jGjI ++3SORS2MMtQvGs2JYcyEwTcmwppfoR3gYPlvjey6kPzFtsTZN4+VUsLblZ6XVMV No+zy55FAn2ejUX6jZ92pdL/8dZfmbnTBqmrAV5YQP8TjDp3bwzA== X-ME-Sender: X-Sasl-enc: Ljp8jJCZJT/NwEaBaEf1Bo4kvn7QZ8OCN/ALwK+0oHV9 1490713701 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id F29D124370; Tue, 28 Mar 2017 11:08:20 -0400 (EDT) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26257: [PATCH] gnu: Add rdma-core. In-Reply-To: <87fuhzj5md.fsf@gnu.org> References: <20170325203353.15515-1-mbakke@fastmail.com> <87fuhzj5md.fsf@gnu.org> User-Agent: Notmuch/0.24 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Tue, 28 Mar 2017 17:08:19 +0200 Message-ID: <87shlxtp5o.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26257-done Cc: 26257-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Marius Bakke skribis: > >> * gnu/packages/linux.scm (rdma-core): New variable. > > LGTM! Closing, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljafGMACgkQoqBt8qM6 VPq3VwgApvfXUPiwzRjVa+KJnHvPOYxlZ3JfBgtTokS+HJnb2Kgwgunp0vvDkySk hftdnZR41AECuOjcYDEj5Y7QGdtVLG7R4LJvhXDaCV61KPEXqNdCCGtJs1XRMDgx FVXMyM91TCmNI+ybpnfBNCtd/D79H5leIvZLVVfrxLxLYuudbnvV7HLe/42/X5nn dLL5kS1PihrB/8y6xvL4+UPfcYGZQT62r+QmijJJ8Z1udsmgo66GkOnMszDBvRTf wWUJuryNHmkJXuCoGGwpMja2tLdiv4BuekwKpE6j7zmSzVl/7G/JRvT05HU0YiC/ SWDKQt3WGCRPfIPlIWxojwIJHQ9NvQ== =AIaX -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 11:09:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 26 Apr 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator