diff options
Diffstat (limited to 'sys-infiniband')
123 files changed, 2389 insertions, 0 deletions
diff --git a/sys-infiniband/compat-dapl/Manifest b/sys-infiniband/compat-dapl/Manifest new file mode 100644 index 000000000000..7afa5aa982f0 --- /dev/null +++ b/sys-infiniband/compat-dapl/Manifest @@ -0,0 +1 @@ +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/compat-dapl/compat-dapl-1.2.19-r1.ebuild b/sys-infiniband/compat-dapl/compat-dapl-1.2.19-r1.ebuild new file mode 100644 index 000000000000..eca7f4e06ab0 --- /dev/null +++ b/sys-infiniband/compat-dapl/compat-dapl-1.2.19-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - Direct Access Provider Library v1.2" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT} + sys-infiniband/librdmacm:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" + +block_other_ofed_versions diff --git a/sys-infiniband/compat-dapl/metadata.xml b/sys-infiniband/compat-dapl/metadata.xml new file mode 100644 index 000000000000..c4ae6f4a7ac3 --- /dev/null +++ b/sys-infiniband/compat-dapl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +uDAPL is a transport neutral infrastructure that provides RDMA capabilities in +user space. It is the user space component of DAPL, the Direct Access Provider +Library for RDMA transports. See http://www.datcollaborative.org/ +</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/sys-infiniband/dapl/Manifest b/sys-infiniband/dapl/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/dapl/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/dapl/dapl-2.0.36.ebuild b/sys-infiniband/dapl/dapl-2.0.36.ebuild new file mode 100644 index 000000000000..5a65b3b486c5 --- /dev/null +++ b/sys-infiniband/dapl/dapl-2.0.36.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - Direct Access Provider Library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT} + sys-infiniband/librdmacm:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" + +block_other_ofed_versions diff --git a/sys-infiniband/dapl/dapl-2.0.40.ebuild b/sys-infiniband/dapl/dapl-2.0.40.ebuild new file mode 100644 index 000000000000..57d2171e590f --- /dev/null +++ b/sys-infiniband/dapl/dapl-2.0.40.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - Direct Access Provider Library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT} + sys-infiniband/librdmacm:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" + +block_other_ofed_versions diff --git a/sys-infiniband/dapl/metadata.xml b/sys-infiniband/dapl/metadata.xml new file mode 100644 index 000000000000..c4ae6f4a7ac3 --- /dev/null +++ b/sys-infiniband/dapl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +uDAPL is a transport neutral infrastructure that provides RDMA capabilities in +user space. It is the user space component of DAPL, the Direct Access Provider +Library for RDMA transports. See http://www.datcollaborative.org/ +</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/sys-infiniband/ibacm/Manifest b/sys-infiniband/ibacm/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/ibacm/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/ibacm/ibacm-1.0.7.ebuild b/sys-infiniband/ibacm/ibacm-1.0.7.ebuild new file mode 100644 index 000000000000..4e4adfc41a5e --- /dev/null +++ b/sys-infiniband/ibacm/ibacm-1.0.7.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="IB CM pre-connection service application" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-infiniband/libibverbs:${SLOT}" +DEPEND="${RDEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/ibacm/ibacm-1.0.8.ebuild b/sys-infiniband/ibacm/ibacm-1.0.8.ebuild new file mode 100644 index 000000000000..db57b5dc5a57 --- /dev/null +++ b/sys-infiniband/ibacm/ibacm-1.0.8.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="IB CM pre-connection service application" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND=" + sys-infiniband/libibumad:${SLOT} + sys-infiniband/libibverbs:${SLOT} +" +DEPEND="${RDEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/ibacm/metadata.xml b/sys-infiniband/ibacm/metadata.xml new file mode 100644 index 000000000000..d6f4b86016ac --- /dev/null +++ b/sys-infiniband/ibacm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB Userspace CM library +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/ibutils/Manifest b/sys-infiniband/ibutils/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/ibutils/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/ibutils/ibutils-1.5.7-r2.ebuild b/sys-infiniband/ibutils/ibutils-1.5.7-r2.ebuild new file mode 100644 index 000000000000..9c5fef022ee4 --- /dev/null +++ b/sys-infiniband/ibutils/ibutils-1.5.7-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="0.1.g05a9d1a" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB userspace tools" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT} + >=dev-lang/tk-8.4" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" + +block_other_ofed_versions diff --git a/sys-infiniband/ibutils/ibutils-1.5.7-r3.ebuild b/sys-infiniband/ibutils/ibutils-1.5.7-r3.ebuild new file mode 100644 index 000000000000..b87cc603b9dd --- /dev/null +++ b/sys-infiniband/ibutils/ibutils-1.5.7-r3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="0.1.g05a9d1a" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB userspace tools" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT} + >=dev-lang/tk-8.4" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" + +block_other_ofed_versions diff --git a/sys-infiniband/ibutils/metadata.xml b/sys-infiniband/ibutils/metadata.xml new file mode 100644 index 000000000000..c4ae6f4a7ac3 --- /dev/null +++ b/sys-infiniband/ibutils/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +uDAPL is a transport neutral infrastructure that provides RDMA capabilities in +user space. It is the user space component of DAPL, the Direct Access Provider +Library for RDMA transports. See http://www.datcollaborative.org/ +</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/sys-infiniband/infiniband-diags/Manifest b/sys-infiniband/infiniband-diags/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/infiniband-diags/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/infiniband-diags/infiniband-diags-1.6.1.ebuild b/sys-infiniband/infiniband-diags/infiniband-diags-1.6.1.ebuild new file mode 100644 index 000000000000..520d56c16721 --- /dev/null +++ b/sys-infiniband/infiniband-diags/infiniband-diags-1.6.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB diagnostic programs and scripts needed to diagnose an IB subnet" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibumad:${SLOT} + sys-infiniband/libibmad:${SLOT} + sys-infiniband/opensm:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/infiniband-diags/infiniband-diags-1.6.4.ebuild b/sys-infiniband/infiniband-diags/infiniband-diags-1.6.4.ebuild new file mode 100644 index 000000000000..94b67fec6807 --- /dev/null +++ b/sys-infiniband/infiniband-diags/infiniband-diags-1.6.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB diagnostic programs and scripts needed to diagnose an IB subnet" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibumad:${SLOT} + sys-infiniband/libibmad:${SLOT} + sys-infiniband/opensm:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/infiniband-diags/metadata.xml b/sys-infiniband/infiniband-diags/metadata.xml new file mode 100644 index 000000000000..05102b86d144 --- /dev/null +++ b/sys-infiniband/infiniband-diags/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <longdescription> +OpenIB diagnostic programs and scripts needed to diagnose an IB subnet. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/infinipath-psm/Manifest b/sys-infiniband/infinipath-psm/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/infinipath-psm/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/infinipath-psm/files/42-infinipath-psm.rules b/sys-infiniband/infinipath-psm/files/42-infinipath-psm.rules new file mode 100644 index 000000000000..8cc1339c16e9 --- /dev/null +++ b/sys-infiniband/infinipath-psm/files/42-infinipath-psm.rules @@ -0,0 +1,2 @@ +KERNEL=="ipath", MODE="0666" +KERNEL=="kcopy[0-6][0-9]", NAME="kcopy/%n", MODE="0666" diff --git a/sys-infiniband/infinipath-psm/files/infinipath-psm-include.patch b/sys-infiniband/infinipath-psm/files/infinipath-psm-include.patch new file mode 100644 index 000000000000..dd13ae0d1501 --- /dev/null +++ b/sys-infiniband/infinipath-psm/files/infinipath-psm-include.patch @@ -0,0 +1,10 @@ +--- ./ptl_ips/ips_proto_header.h.orig 2012-01-20 15:49:17.000000000 +0400 ++++ ./ptl_ips/ips_proto_header.h 2012-01-20 15:49:24.000000000 +0400 +@@ -72,7 +72,6 @@ + union { + struct { + __u16 mqhdr : 14; /* PSM matched queues */ +- __u16 dst_subcontext : 2; /* Destination subcontext */ + }; + struct { /* for PSM Active Messages */ + __u16 amhdr_hidx : 8; diff --git a/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild b/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild new file mode 100644 index 000000000000..09fd73c04f08 --- /dev/null +++ b/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="115.1015_open" +OFED_SNAPSHOT="1" +OFED_SRC_SNAPSHOT="1" + +inherit openib udev + +DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-infiniband/libibverbs:${SLOT}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +block_other_ofed_versions + +src_prepare() { + sed -e 's:uname -p:uname -m:g' \ + -e 's:-Werror::g' \ + -i buildflags.mak || die + epatch "${FILESDIR}"/${PN}-include.patch +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README + udev_dorules "${FILESDIR}"/42-infinipath-psm.rules +} diff --git a/sys-infiniband/infinipath-psm/infinipath-psm-3.2.ebuild b/sys-infiniband/infinipath-psm/infinipath-psm-3.2.ebuild new file mode 100644 index 000000000000..b184cdce97ba --- /dev/null +++ b/sys-infiniband/infinipath-psm/infinipath-psm-3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="2_ga8c3e3e_open" +OFED_SNAPSHOT="1" +OFED_SRC_SNAPSHOT="1" + +inherit openib udev + +DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-infiniband/libibverbs:${SLOT}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +block_other_ofed_versions + +src_prepare() { + sed -e 's:uname -p:uname -m:g' \ + -e 's:-Werror::g' \ + -i buildflags.mak || die +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README + udev_dorules "${FILESDIR}"/42-infinipath-psm.rules +} diff --git a/sys-infiniband/infinipath-psm/metadata.xml b/sys-infiniband/infinipath-psm/metadata.xml new file mode 100644 index 000000000000..348e6c4de815 --- /dev/null +++ b/sys-infiniband/infinipath-psm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +</pkgmetadata> diff --git a/sys-infiniband/libcxgb3/Manifest b/sys-infiniband/libcxgb3/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libcxgb3/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libcxgb3/libcxgb3-1.3.1-r1.ebuild b/sys-infiniband/libcxgb3/libcxgb3-1.3.1-r1.ebuild new file mode 100644 index 000000000000..1f8741deeb33 --- /dev/null +++ b/sys-infiniband/libcxgb3/libcxgb3-1.3.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet)" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libcxgb3/libcxgb3-1.3.1-r2.ebuild b/sys-infiniband/libcxgb3/libcxgb3-1.3.1-r2.ebuild new file mode 100644 index 000000000000..2e6af2f23332 --- /dev/null +++ b/sys-infiniband/libcxgb3/libcxgb3-1.3.1-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet)" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libcxgb3/metadata.xml b/sys-infiniband/libcxgb3/metadata.xml new file mode 100644 index 000000000000..4e5ec8841023 --- /dev/null +++ b/sys-infiniband/libcxgb3/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet) +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libcxgb4/Manifest b/sys-infiniband/libcxgb4/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libcxgb4/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libcxgb4/libcxgb4-1.2.0-r1.ebuild b/sys-infiniband/libcxgb4/libcxgb4-1.2.0-r1.ebuild new file mode 100644 index 000000000000..f4ff3ec88c86 --- /dev/null +++ b/sys-infiniband/libcxgb4/libcxgb4-1.2.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - driver for Chelsio T4-based iWARP (RDMA over IP/ethernet)" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libcxgb4/libcxgb4-1.3.2.ebuild b/sys-infiniband/libcxgb4/libcxgb4-1.3.2.ebuild new file mode 100644 index 000000000000..b7289fc8673c --- /dev/null +++ b/sys-infiniband/libcxgb4/libcxgb4-1.3.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB - driver for Chelsio T4-based iWARP (RDMA over IP/ethernet)" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libcxgb4/metadata.xml b/sys-infiniband/libcxgb4/metadata.xml new file mode 100644 index 000000000000..4e5ec8841023 --- /dev/null +++ b/sys-infiniband/libcxgb4/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet) +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libehca/Manifest b/sys-infiniband/libehca/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libehca/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libehca/libehca-1.2.2-r2.ebuild b/sys-infiniband/libehca/libehca-1.2.2-r2.ebuild new file mode 100644 index 000000000000..c2ea30c2c8f7 --- /dev/null +++ b/sys-infiniband/libehca/libehca-1.2.2-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="0.1.g69e1a88" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB - IBM eServer eHCA Infiniband device driver for Linux on POWER" +KEYWORDS="" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libehca/libehca-1.2.2-r3.ebuild b/sys-infiniband/libehca/libehca-1.2.2-r3.ebuild new file mode 100644 index 000000000000..5168f638c11a --- /dev/null +++ b/sys-infiniband/libehca/libehca-1.2.2-r3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="0.1.g69e1a88" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB - IBM eServer eHCA Infiniband device driver for Linux on POWER" +KEYWORDS="" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libehca/metadata.xml b/sys-infiniband/libehca/metadata.xml new file mode 100644 index 000000000000..3276c6fdb95a --- /dev/null +++ b/sys-infiniband/libehca/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB - IBM eServer eHCA Infiniband device driver for Linux on POWER. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libibcm/Manifest b/sys-infiniband/libibcm/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libibcm/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libibcm/libibcm-1.0.5-r2.ebuild b/sys-infiniband/libibcm/libibcm-1.0.5-r2.ebuild new file mode 100644 index 000000000000..f48cb38fb1c4 --- /dev/null +++ b/sys-infiniband/libibcm/libibcm-1.0.5-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB Userspace CM library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-infiniband/libibverbs:${SLOT}" +DEPEND="${RDEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libibcm/libibcm-1.0.5-r3.ebuild b/sys-infiniband/libibcm/libibcm-1.0.5-r3.ebuild new file mode 100644 index 000000000000..37ae27bb9e1d --- /dev/null +++ b/sys-infiniband/libibcm/libibcm-1.0.5-r3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB Userspace CM library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-infiniband/libibverbs:${SLOT}" +DEPEND="${RDEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libibcm/metadata.xml b/sys-infiniband/libibcm/metadata.xml new file mode 100644 index 000000000000..d6f4b86016ac --- /dev/null +++ b/sys-infiniband/libibcm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB Userspace CM library +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libibmad/Manifest b/sys-infiniband/libibmad/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libibmad/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libibmad/libibmad-1.3.11.ebuild b/sys-infiniband/libibmad/libibmad-1.3.11.ebuild new file mode 100644 index 000000000000..13c6c3a61be7 --- /dev/null +++ b/sys-infiniband/libibmad/libibmad-1.3.11.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB library providing low layer IB functions for use by the IB diagnostic/management programs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibumad:${SLOT} + " +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libibmad/libibmad-1.3.9.ebuild b/sys-infiniband/libibmad/libibmad-1.3.9.ebuild new file mode 100644 index 000000000000..ba52ed252015 --- /dev/null +++ b/sys-infiniband/libibmad/libibmad-1.3.9.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB library providing low layer IB functions for use by the IB diagnostic/management programs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibumad:${SLOT} + " +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libibmad/metadata.xml b/sys-infiniband/libibmad/metadata.xml new file mode 100644 index 000000000000..dbc9d5578da7 --- /dev/null +++ b/sys-infiniband/libibmad/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB library that provides low layer IB functions for use by the IB diagnostic +and management programs. These include MAD, SA, SMP, and other basic IB +functions. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libibumad/Manifest b/sys-infiniband/libibumad/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libibumad/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libibumad/libibumad-1.3.8.ebuild b/sys-infiniband/libibumad/libibumad-1.3.8.ebuild new file mode 100644 index 000000000000..a371b0274eec --- /dev/null +++ b/sys-infiniband/libibumad/libibumad-1.3.8.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB User MAD library functions which sit on top of the user MAD modules in the kernel" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + " +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libibumad/libibumad-1.3.9.ebuild b/sys-infiniband/libibumad/libibumad-1.3.9.ebuild new file mode 100644 index 000000000000..f6170b7b6dfe --- /dev/null +++ b/sys-infiniband/libibumad/libibumad-1.3.9.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB User MAD library functions which sit on top of the user MAD modules in the kernel" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + " +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libibumad/metadata.xml b/sys-infiniband/libibumad/metadata.xml new file mode 100644 index 000000000000..4d5e933a14a8 --- /dev/null +++ b/sys-infiniband/libibumad/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB User MAD library functions which sit on top of the user MAD modules in +the kernel. These are used by the IB diagnostic and management tools, including +OpenSM. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libibverbs/Manifest b/sys-infiniband/libibverbs/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libibverbs/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libibverbs/libibverbs-1.1.6.ebuild b/sys-infiniband/libibverbs/libibverbs-1.1.6.ebuild new file mode 100644 index 000000000000..fcfa0e0319d2 --- /dev/null +++ b/sys-infiniband/libibverbs/libibverbs-1.1.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit eutils openib + +DESCRIPTION="A library allowing programs to use InfiniBand 'verbs' for direct access to IB hardware" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libibverbs/libibverbs-1.1.7.ebuild b/sys-infiniband/libibverbs/libibverbs-1.1.7.ebuild new file mode 100644 index 000000000000..c45f6072ea2e --- /dev/null +++ b/sys-infiniband/libibverbs/libibverbs-1.1.7.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1.gcbf2a35" + +inherit eutils openib + +DESCRIPTION="A library allowing programs to use InfiniBand 'verbs' for direct access to IB hardware" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libibverbs/metadata.xml b/sys-infiniband/libibverbs/metadata.xml new file mode 100644 index 000000000000..f32cc6d6c3ca --- /dev/null +++ b/sys-infiniband/libibverbs/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibverbs is a library that allows programs to use InfiniBand "verbs" +for direct access to IB hardware from userspace. For more information +on verbs, see the InfiniBand Architecture Specification vol. 1, +especially chapter 11. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libibvpp/Manifest b/sys-infiniband/libibvpp/Manifest new file mode 100644 index 000000000000..85fbc64398c4 --- /dev/null +++ b/sys-infiniband/libibvpp/Manifest @@ -0,0 +1 @@ +DIST libibvpp-0.1.tar.gz 340119 SHA256 6a8fb559c4474f013b040a2a070c8088170f5978ca5537b58c076f07b7844700 SHA512 7a60f24eafc789c800bd91480218a0d282c5295076ebf6e85ef69dbede8dbbe27ed3e78b3e2bdd1779dbab536cabfcdf7c4fa45a2454791bf545f8425c907cb7 WHIRLPOOL 22c8e164483668b9d45031bad7de2944610321b06f556d7639302c42c2387cf241b48707998cd84a75a6b19e3389eee5bbf409e445857471382c4f30ac35631a diff --git a/sys-infiniband/libibvpp/libibvpp-0.1.ebuild b/sys-infiniband/libibvpp/libibvpp-0.1.ebuild new file mode 100644 index 000000000000..5d22b9a81f31 --- /dev/null +++ b/sys-infiniband/libibvpp/libibvpp-0.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="C++ wrapper around libibverbs, which is part of OpenIB" +HOMEPAGE="http://ti.arc.nasa.gov/opensource/projects/libibvpp/" +SRC_URI="http://ti.arc.nasa.gov/m/opensource/downloads/${P}.tar.gz" + +LICENSE="NOSA BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs" +RDEPEND="${DEPEND}" diff --git a/sys-infiniband/libibvpp/metadata.xml b/sys-infiniband/libibvpp/metadata.xml new file mode 100644 index 000000000000..401e270ede58 --- /dev/null +++ b/sys-infiniband/libibvpp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibvpp is a C++ wrapper around libibverbs, which is part of OpenIB. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libipathverbs/Manifest b/sys-infiniband/libipathverbs/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libipathverbs/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libipathverbs/libipathverbs-1.2-r2.ebuild b/sys-infiniband/libipathverbs/libipathverbs-1.2-r2.ebuild new file mode 100644 index 000000000000..14c26bdca491 --- /dev/null +++ b/sys-infiniband/libipathverbs/libipathverbs-1.2-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libipathverbs/libipathverbs-1.2.1.ebuild b/sys-infiniband/libipathverbs/libipathverbs-1.2.1.ebuild new file mode 100644 index 000000000000..cbad6afc7057 --- /dev/null +++ b/sys-infiniband/libipathverbs/libipathverbs-1.2.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/libipathverbs/metadata.xml b/sys-infiniband/libipathverbs/metadata.xml new file mode 100644 index 000000000000..1cce96be7b24 --- /dev/null +++ b/sys-infiniband/libipathverbs/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libipathverbs is a userspace driver for QLogic InfiniBand HCAs. It works as a +plug-in module for libibverbs that allows programs to use QLogic HCAs directly +from userspace. See the libibverbs package for more information. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libmlx4/Manifest b/sys-infiniband/libmlx4/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libmlx4/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libmlx4/libmlx4-1.0.4.ebuild b/sys-infiniband/libmlx4/libmlx4-1.0.4.ebuild new file mode 100644 index 000000000000..b6b77b41a676 --- /dev/null +++ b/sys-infiniband/libmlx4/libmlx4-1.0.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for Mellanox ConnectX HCA" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + " +RDEPEND=" + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libmlx4/libmlx4-1.0.5.ebuild b/sys-infiniband/libmlx4/libmlx4-1.0.5.ebuild new file mode 100644 index 000000000000..a84151c8c42a --- /dev/null +++ b/sys-infiniband/libmlx4/libmlx4-1.0.5.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1.gdc6ef69" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for Mellanox ConnectX HCA" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + " +RDEPEND=" + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libmlx4/metadata.xml b/sys-infiniband/libmlx4/metadata.xml new file mode 100644 index 000000000000..f32cc6d6c3ca --- /dev/null +++ b/sys-infiniband/libmlx4/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibverbs is a library that allows programs to use InfiniBand "verbs" +for direct access to IB hardware from userspace. For more information +on verbs, see the InfiniBand Architecture Specification vol. 1, +especially chapter 11. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libmlx5/Manifest b/sys-infiniband/libmlx5/Manifest new file mode 100644 index 000000000000..a6c7bd74e5e8 --- /dev/null +++ b/sys-infiniband/libmlx5/Manifest @@ -0,0 +1 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 diff --git a/sys-infiniband/libmlx5/libmlx5-1.0.1.ebuild b/sys-infiniband/libmlx5/libmlx5-1.0.1.ebuild new file mode 100644 index 000000000000..63e21a003759 --- /dev/null +++ b/sys-infiniband/libmlx5/libmlx5-1.0.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for Mellanox ConnectIB HCA" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + " +RDEPEND=" + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libmlx5/metadata.xml b/sys-infiniband/libmlx5/metadata.xml new file mode 100644 index 000000000000..348e6c4de815 --- /dev/null +++ b/sys-infiniband/libmlx5/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +</pkgmetadata> diff --git a/sys-infiniband/libmthca/Manifest b/sys-infiniband/libmthca/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libmthca/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libmthca/libmthca-1.0.5-r4.ebuild b/sys-infiniband/libmthca/libmthca-1.0.5-r4.ebuild new file mode 100644 index 000000000000..e706f888c1ab --- /dev/null +++ b/sys-infiniband/libmthca/libmthca-1.0.5-r4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="0.1.gbe5eef3" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for Mellanox InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libmthca/libmthca-1.0.6.ebuild b/sys-infiniband/libmthca/libmthca-1.0.6.ebuild new file mode 100644 index 000000000000..71b81e28e5ee --- /dev/null +++ b/sys-infiniband/libmthca/libmthca-1.0.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for Mellanox InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libmthca/metadata.xml b/sys-infiniband/libmthca/metadata.xml new file mode 100644 index 000000000000..f32cc6d6c3ca --- /dev/null +++ b/sys-infiniband/libmthca/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibverbs is a library that allows programs to use InfiniBand "verbs" +for direct access to IB hardware from userspace. For more information +on verbs, see the InfiniBand Architecture Specification vol. 1, +especially chapter 11. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libnes/Manifest b/sys-infiniband/libnes/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/libnes/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/libnes/libnes-1.1.3-r1.ebuild b/sys-infiniband/libnes/libnes-1.1.3-r1.ebuild new file mode 100644 index 000000000000..0588d92d2a2d --- /dev/null +++ b/sys-infiniband/libnes/libnes-1.1.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="NetEffect RNIC Userspace Library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || rm -f "${D}"usr/$(get_libdir)/${PN}.la +} diff --git a/sys-infiniband/libnes/libnes-1.1.4.ebuild b/sys-infiniband/libnes/libnes-1.1.4.ebuild new file mode 100644 index 000000000000..578e9ad53af6 --- /dev/null +++ b/sys-infiniband/libnes/libnes-1.1.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="0" + +inherit openib + +DESCRIPTION="NetEffect RNIC Userspace Library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || rm -f "${D}"usr/$(get_libdir)/${PN}.la +} diff --git a/sys-infiniband/libnes/metadata.xml b/sys-infiniband/libnes/metadata.xml new file mode 100644 index 000000000000..f32cc6d6c3ca --- /dev/null +++ b/sys-infiniband/libnes/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibverbs is a library that allows programs to use InfiniBand "verbs" +for direct access to IB hardware from userspace. For more information +on verbs, see the InfiniBand Architecture Specification vol. 1, +especially chapter 11. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/libocrdma/Manifest b/sys-infiniband/libocrdma/Manifest new file mode 100644 index 000000000000..a6c7bd74e5e8 --- /dev/null +++ b/sys-infiniband/libocrdma/Manifest @@ -0,0 +1 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 diff --git a/sys-infiniband/libocrdma/libocrdma-1.0.2.ebuild b/sys-infiniband/libocrdma/libocrdma-1.0.2.ebuild new file mode 100644 index 000000000000..cf007d9a03ce --- /dev/null +++ b/sys-infiniband/libocrdma/libocrdma-1.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenIB userspace driver for Emulex OneConnect RDMA" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + " +RDEPEND=" + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/libocrdma/metadata.xml b/sys-infiniband/libocrdma/metadata.xml new file mode 100644 index 000000000000..f32cc6d6c3ca --- /dev/null +++ b/sys-infiniband/libocrdma/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibverbs is a library that allows programs to use InfiniBand "verbs" +for direct access to IB hardware from userspace. For more information +on verbs, see the InfiniBand Architecture Specification vol. 1, +especially chapter 11. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/librdmacm/Manifest b/sys-infiniband/librdmacm/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/librdmacm/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/librdmacm/librdmacm-1.0.16.ebuild b/sys-infiniband/librdmacm/librdmacm-1.0.16.ebuild new file mode 100644 index 000000000000..834b204a26d6 --- /dev/null +++ b/sys-infiniband/librdmacm/librdmacm-1.0.16.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit eutils openib + +DESCRIPTION="OpenIB userspace RDMA CM library" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/librdmacm/librdmacm-1.0.18.ebuild b/sys-infiniband/librdmacm/librdmacm-1.0.18.ebuild new file mode 100644 index 000000000000..a4007c058831 --- /dev/null +++ b/sys-infiniband/librdmacm/librdmacm-1.0.18.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit eutils openib + +DESCRIPTION="OpenIB userspace RDMA CM library" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/librdmacm/metadata.xml b/sys-infiniband/librdmacm/metadata.xml new file mode 100644 index 000000000000..67da2f26db6b --- /dev/null +++ b/sys-infiniband/librdmacm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB userspace RDMA CM library. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/metadata.xml b/sys-infiniband/metadata.xml new file mode 100644 index 000000000000..4debfb570508 --- /dev/null +++ b/sys-infiniband/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The sys-infiniband category contains OFED software stack and other infiniband related software. + </longdescription> + <longdescription lang="es"> + La categoría sys-infiniband contiene la pila de software OFED y + otro software relacionado con infiniband. + </longdescription> +</catmetadata> + diff --git a/sys-infiniband/mstflint/Manifest b/sys-infiniband/mstflint/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/mstflint/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/mstflint/metadata.xml b/sys-infiniband/mstflint/metadata.xml new file mode 100644 index 000000000000..d6f4b86016ac --- /dev/null +++ b/sys-infiniband/mstflint/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +OpenIB Userspace CM library +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/mstflint/mstflint-1.4-r1.ebuild b/sys-infiniband/mstflint/mstflint-1.4-r1.ebuild new file mode 100644 index 000000000000..c446fb714782 --- /dev/null +++ b/sys-infiniband/mstflint/mstflint-1.4-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1.18.g1adcfbf" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="Mellanox firmware burning application" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/mstflint/mstflint-3.5.0.ebuild b/sys-infiniband/mstflint/mstflint-3.5.0.ebuild new file mode 100644 index 000000000000..5e16bf71fca4 --- /dev/null +++ b/sys-infiniband/mstflint/mstflint-3.5.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="Mellanox firmware burning application" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +block_other_ofed_versions diff --git a/sys-infiniband/ofed/Manifest b/sys-infiniband/ofed/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/ofed/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/ofed/files/90-ib.rules b/sys-infiniband/ofed/files/90-ib.rules new file mode 100644 index 000000000000..789668486c8c --- /dev/null +++ b/sys-infiniband/ofed/files/90-ib.rules @@ -0,0 +1,5 @@ +KERNEL=="umad*", NAME="infiniband/%k" +KERNEL=="issm*", NAME="infiniband/%k" +KERNEL=="uverbs*", NAME="infiniband/%k", MODE="0666" +KERNEL=="ucm*", NAME="infiniband/%k", MODE="0666" +KERNEL=="rdma_cm", NAME="infiniband/%k", MODE="0666" diff --git a/sys-infiniband/ofed/files/openib b/sys-infiniband/ofed/files/openib new file mode 100644 index 000000000000..71d0647fc18f --- /dev/null +++ b/sys-infiniband/ofed/files/openib @@ -0,0 +1,243 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Based on openibd script from openfabrics.org, +# Copyright (c) 2006 Mellanox Technologies. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +depend() { + after hotplug + before net # init openib before starting any ipoib interfaces +} + +OPENIB_CONFDIR=${OPENIB_CONFDIR:-/etc/infiniband} + +if [[ -r ${OPENIB_CONFDIR}/openib.conf ]] ; then + . ${OPENIB_CONFDIR}/openib.conf +fi + +# Setting OpenIB start parameters +POST_LOAD_MODULES="" + +if [ "X${SDP_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES ib_sdp" + IPOIB_LOAD="yes" +fi + +IPOIB=0 +if [ "X${IPOIB_LOAD}" == "Xyes" ]; then + IPOIB=1 +fi + +if [ "X${SRP_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES ib_srp" +fi + +if [ "X${SRP_TARGET_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES ib_srp_target" +fi + +if [ "X${RDMA_CM_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES rdma_cm" +fi + +if [ "X${UCM_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES ib_ucm" +fi + +if [ "X${RDS_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES ib_rds" +fi + +if [ "X${ISER_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES ib_iser" +fi + +if [ "X${RDMA_UCM_LOAD}" == "Xyes" ]; then + POST_LOAD_MODULES="$POST_LOAD_MODULES rdma_ucm" +fi + +PRE_UNLOAD_MODULES="ib_rds ib_ucm kdapl ib_srp_target scsi_target ib_srp ib_iser ib_sdp rdma_ucm rdma_cm ib_addr ib_cm ib_local_sa findex" + +# W/A for unloading modules +POST_UNLOAD_MODULES="$PRE_UNLOAD_MODULES ib_ipoib ib_sa ib_uverbs ib_umad" +# ib_mthca ib_ipath - don't unload unless they are in openib.conf +[[ "${MTHCA_LOAD}" == "yes" ]] && \ + POST_UNLOAD_MODULES="$POST_UNLOAD_MODULES ib_mthca" +[[ "${IPATH_LOAD}" == "yes" ]] && \ + POST_UNLOAD_MODULES="$POST_UNLOAD_MODULES ib_ipath ipath_core" + +[[ "${MTHCA_LOAD}" == "yes" || "${IPATH_LOAD}" == "yes" ]] && \ + POST_UNLOAD_MODULES="$POST_UNLOAD_MODULES ib_mad ib_core" + +#STATUS_MODULES="rdma_ucm ib_rds ib_srp ib_sdp rdma_cm ib_addr ib_local_sa findex ib_ipoib ib_ipath ipath_core ib_mthca ib_uverbs ib_umad ib_ucm ib_sa ib_cm ib_mad ib_core" + + +# If module $1 is loaded return - 0 else - 1 +is_module() +{ + local RC + + /bin/lsmod | grep -w "$1" > /dev/null 2>&1 + RC=$? + + return $RC +} + +unload() +{ + # Unload module $1 + if is_module $mod; then + /sbin/modprobe -r $mod > /dev/null 2>&1 + if [ $? -ne 0 ]; then + # Try rmmod if modprobe failed: case that previous installation included more IB modules. + /sbin/rmmod $mod > /dev/null 2>&1 + if [ $? -ne 0 ]; then + ewarn "Failed to unload $mod" + return 1 + fi + fi + fi +} + +start() { + local RC=0 + ebegin "Initializing Infiniband" + eindent + + # Load Mellanox HCA driver if explicitly requested + # (however, it should be loaded automatically by udev) + + einfo "Loading HCA and Access Layer drivers" + + if [[ "${MTHCA_LOAD}" == "yes" ]]; then + /sbin/modprobe ib_mthca > /dev/null 2>&1 + RC=$[ $RC + $? ] + fi + if [[ "${IPATH_LOAD}" == "yes" ]]; then + /sbin/modprobe ib_ipath > /dev/null 2>&1 + RC=$[ $RC + $? ] + fi + + # Add node description to sysfs + IBSYSDIR="/sys/class/infiniband" + if [ -d ${IBSYSDIR} ]; then + declare -i hca_id=1 + for hca in ${IBSYSDIR}/*; do + if [ -e ${hca}/node_desc ]; then + echo -n "$(hostname -s) HCA-${hca_id}" >> ${hca}/node_desc + fi + let hca_id++ + done + fi + /sbin/modprobe ib_umad > /dev/null 2>&1 + RC=$[ $RC + $? ] + /sbin/modprobe ib_uverbs > /dev/null 2>&1 + RC=$[ $RC + $? ] + + if [ $IPOIB -eq 1 ]; then + # this section is not necessary if all ib-over-ib devices are + # aliased properly in /etc/modules.d/openib + einfo "loading ib_ipoib module" + /sbin/modprobe ib_ipoib > /dev/null 2>&1 + RC=$[ $RC + $? ] + if (( ! RC )); then + # start the ipoib devices automatically... + # this is probably a bad idea (the concept is taken from the + # original SUSE/Redhat-based initscript), and should be removed. + # But it works, and is not enabled by default. So I leave it here + # for second opinions. + local ibdevs=`rc-status -u -nc |egrep 'net\.ib[0-9a-zA-Z]+.*stopped' | awk '{print $1}'` + if [ -n "$ibdevs" ] ; then + einfo "starting ipoib devices" + for ibdev in $ibdevs; do + /etc/init.d/$ibdev start + done + fi + fi + fi + + # Devices for ib_umad and ib_uverbs should now have been created. + if [ ! -d /dev/infiniband/ ]; then + eerror "udev failed to create '/dev/infiniband/' devices" + RC=1 + fi + + # Load configured modules + if [ "$POST_LOAD_MODULES" != "" ]; then + for mod in $POST_LOAD_MODULES + do + case $mod in + ib_iser) + # Voltaire requirement + /sbin/modprobe --force-modversion $mod > /dev/null 2>&1 + ;; + *) + /sbin/modprobe $mod > /dev/null 2>&1 + ;; + esac + RC=$? + [ $RC -ne 0 ] && eerror "Failed to load $mod" + done + fi + + eoutdent + eend $RC +} + +stop() { + ebegin "Stopping Infiniband" + local RC=0 + + # Check if applications which use infiniband are running + local apps="opensm osmtest ibbs ibns" + local pid + + for app in $apps + do + if ( ps -ef | grep $app | grep -v grep > /dev/null 2>&1 ); then + eerror "Please stop $app and all applications running over InfiniBand" + eend 1 + return + fi + done + + if ! is_module ib_core; then + einfo "HCA driver is not loaded" + eend 0 + return + fi + + # Unload ULPs modules + + if [ "$PRE_UNLOAD_MODULES" != "" ]; then + for mod in $PRE_UNLOAD_MODULES + do + unload $mod || { eend 1; return; } + done + fi + + # Remove srp_presistant_bind.sh before removing ib_srp module + PID_SCRPT_TO_KILL=`ps -efww | grep srp_persistent | grep -v grep | awk '{print $2}'` + if ! [ "$PID_SCRPT_TO_KILL" == "" ]; then + PID_SLEEP_TO_KILL=`ps -efww | grep $PID_SCRPT_TO_KILL | grep sleep | awk '{print $2}'` + kill -9 $PID_SCRPT_TO_KILL + fi + if ! [ "$PID_SLEEP_TO_KILL" == "" ]; then + kill -9 $PID_SLEEP_TO_KILL + fi + + # Unload OpenIB modules + + if [ "$POST_UNLOAD_MODULES" != "" ]; then + for mod in $POST_UNLOAD_MODULES + do + unload $mod || RC=1 + done + fi + + eend $RC +} + diff --git a/sys-infiniband/ofed/files/openib.conf b/sys-infiniband/ofed/files/openib.conf new file mode 100644 index 000000000000..9b4eb292857c --- /dev/null +++ b/sys-infiniband/ofed/files/openib.conf @@ -0,0 +1,27 @@ +# uncomment to load ib_ipoib module +#IPOIB_LOAD=yes + +# uncomment to load ib_sdp module (implies IPOIB_LOAD=yes) +#SDP_LOAD=yes + +# uncomment to load ib_srp module +#SRP_LOAD=yes + +# uncomment to load ib_srp_target module +#SRP_TARGET_LOAD=yes + +# uncomment to load rdma_cm module +#RDMA_CM_LOAD=yes + +# uncomment to load ib_ucm module +#UCM_LOAD=yes + +# uncomment to load ib_rds module +#RDS_LOAD=yes + +# uncomment to load ib_iser module +#ISER_LOAD=yes + +# uncomment to load rdma_ucm module +#RDMA_UCM_LOAD=yes + diff --git a/sys-infiniband/ofed/files/openib.env b/sys-infiniband/ofed/files/openib.env new file mode 100644 index 000000000000..2e34cf22f96b --- /dev/null +++ b/sys-infiniband/ofed/files/openib.env @@ -0,0 +1 @@ +IBPATH="/usr/sbin" diff --git a/sys-infiniband/ofed/files/openib.modprobe b/sys-infiniband/ofed/files/openib.modprobe new file mode 100644 index 000000000000..52828fb3bf65 --- /dev/null +++ b/sys-infiniband/ofed/files/openib.modprobe @@ -0,0 +1,12 @@ +# Setup aliases from ip-over-ib devices to the ip-over-ib kernel module. +# Add to this list if you have more infiniband ports. Or you can set +# IPOIB_LOAD=yes to have the ip-over-ib interfaces brought up by init.d/openib +alias ib0 ib_ipoib +alias ib1 ib_ipoib +alias ib2 ib_ipoib +alias ib3 ib_ipoib + +alias net-pf-27 ib_sdp + +#options ib_mthca msi_x=1 + diff --git a/sys-infiniband/ofed/metadata.xml b/sys-infiniband/ofed/metadata.xml new file mode 100644 index 000000000000..ccfad5ee7c1d --- /dev/null +++ b/sys-infiniband/ofed/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <use> + <flag name='compat-dapl'>Add support for DAPL v1.2 abstraction layer</flag> + <flag name='dapl'>Add support for DAPL abstraction layer</flag> + <flag name='diags'>Add dignostic tools for infiniband</flag> + <flag name='ibacm'>Add support for userspace pre-connection services</flag> + <flag name='mstflint'>Tools to burn Mellanox firmware</flag> + <flag name='opensm'>Add OpenSM - Subnet manager for infiniband</flag> + <flag name='perftest'>Add perftest utils</flag> + <flag name='qperf'>Add rdma tests</flag> + <flag name='sdp'>Add SDP tools</flag> + <flag name="srp">Suport for userspace part for srp initiator</flag> + <flag name="rds">Tools to manage rds sockets</flag> + </use> +</pkgmetadata> diff --git a/sys-infiniband/ofed/ofed-3.12_rc1.ebuild b/sys-infiniband/ofed/ofed-3.12_rc1.ebuild new file mode 100644 index 000000000000..36b5310de050 --- /dev/null +++ b/sys-infiniband/ofed/ofed-3.12_rc1.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1.g8336567" + +IUSE_OFED_DRIVERS=" + ofed_drivers_cxgb3 + ofed_drivers_cxgb4 + ofed_drivers_ehca + ofed_drivers_ipath + ofed_drivers_mlx4 + ofed_drivers_mlx5 + ofed_drivers_mthca + ofed_drivers_nes + ofed_drivers_ocrdma + ofed_drivers_psm" + +inherit openib udev toolchain-funcs + +DESCRIPTION="OpenIB system files" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="dapl +diags ibacm mstflint +opensm perftest qperf rds srp ${IUSE_OFED_DRIVERS}" + +RDEPEND="!sys-infiniband/openib + !sys-infiniband/openib-files + sys-infiniband/libibcm:${SLOT} + sys-infiniband/libibmad:${SLOT} + sys-infiniband/libibumad:${SLOT} + sys-infiniband/librdmacm:${SLOT} + dapl? ( sys-infiniband/dapl:${SLOT} ) + diags? ( sys-infiniband/infiniband-diags:${SLOT} ) + ibacm? ( sys-infiniband/ibacm:${SLOT} ) + mstflint? ( sys-infiniband/mstflint:${SLOT} ) + opensm? ( sys-infiniband/opensm:${SLOT} ) + perftest? ( sys-infiniband/perftest:${SLOT} ) + qperf? ( sys-infiniband/qperf:${SLOT} ) + srp? ( sys-infiniband/srptools:${SLOT} ) + rds? ( sys-infiniband/rds-tools:${SLOT} ) + ofed_drivers_cxgb3? ( sys-infiniband/libcxgb3:${SLOT} ) + ofed_drivers_cxgb4? ( sys-infiniband/libcxgb4:${SLOT} ) + ofed_drivers_ehca? ( sys-infiniband/libehca:${SLOT} ) + ofed_drivers_ipath? ( sys-infiniband/libipathverbs:${SLOT} ) + ofed_drivers_mlx4? ( sys-infiniband/libmlx4:${SLOT} ) + ofed_drivers_mlx5? ( sys-infiniband/libmlx5:${SLOT} ) + ofed_drivers_mthca? ( sys-infiniband/libmthca:${SLOT} ) + ofed_drivers_nes? ( sys-infiniband/libnes:${SLOT} ) + ofed_drivers_ocrdma? ( sys-infiniband/libocrdma:${SLOT} ) + ofed_drivers_psm? ( sys-infiniband/infinipath-psm:${SLOT} ) + " +DEPEND="${RDEPEND} + virtual/pkgconfig + " +block_other_ofed_versions + +S="${WORKDIR}/${MY_PN}-${OFED_VER}" +SCRIPTDIR="${S}/ofed_scripts" + +src_configure() { :; } +src_compile() { :; } + +src_install() { + udev_newrules "${SCRIPTDIR}/90-ib.rules" 40-ib.rules + insinto /etc/modprobe.d + newins "${FILESDIR}/openib.modprobe" openib.conf + newenvd "${FILESDIR}/openib.env" 02openib + insinto /etc/infiniband + + doinitd "${FILESDIR}/openib" + + # build openib.conf based on ofed_scripts/ofa_kernel.spec + build_ipoib=1 + cp "${SCRIPTDIR}/openib.conf" "${T}" + IB_CONF_DIR=${T} + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load UCM module" >> ${IB_CONF_DIR}/openib.conf + echo "UCM_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load RDMA_CM module" >> ${IB_CONF_DIR}/openib.conf + echo "RDMA_CM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load RDMA_UCM module" >> ${IB_CONF_DIR}/openib.conf + echo "RDMA_UCM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Increase ib_mad thread priority" >> ${IB_CONF_DIR}/openib.conf + echo "RENICE_IB_MAD=no" >> ${IB_CONF_DIR}/openib.conf + + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load MTHCA" >> ${IB_CONF_DIR}/openib.conf + echo "MTHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + if use ofed_drivers_ipath; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load IPATH" >> ${IB_CONF_DIR}/openib.conf + echo "IPATH_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if use ofed_drivers_ehca; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load eHCA" >> ${IB_CONF_DIR}/openib.conf + echo "EHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if use ofed_drivers_mlx4; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load MLX4 modules" >> ${IB_CONF_DIR}/openib.conf + echo "MLX4_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if (( build_ipoib )); then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load IPoIB" >> ${IB_CONF_DIR}/openib.conf + echo "#IPOIB_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Enable IPoIB Connected Mode" >> ${IB_CONF_DIR}/openib.conf + echo "#SET_IPOIB_CM=yes" >> ${IB_CONF_DIR}/openib.conf + # from ofa_user.spec: + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Enable IPoIB High Availability daemon" >> ${IB_CONF_DIR}/openib.conf + echo "#IPOIBHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf + echo "# PRIMARY_IPOIB_DEV=ib0" >> ${IB_CONF_DIR}/openib.conf + echo "# SECONDARY_IPOIB_DEV=ib1" >> ${IB_CONF_DIR}/openib.conf + fi + if use srp; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load SRP module" >> ${IB_CONF_DIR}/openib.conf + echo "#SRP_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + # from ofa_user.spec: + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Enable SRP High Availability daemon" >> ${IB_CONF_DIR}/openib.conf + echo "#SRPHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf + + fi + if use rds; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load RDS module" >> ${IB_CONF_DIR}/openib.conf + echo "#RDS_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + fi + + doins "${T}/openib.conf" +} + +pkg_postinst() { + einfo "Configuration file installed in /etc/infiniband/openib.conf" + einfo "To automatically initialize infiniband on boot, add openib to your" + einfo "start-up scripts, like so:" + einfo "\`rc-update add openib default\`" + +} diff --git a/sys-infiniband/ofed/ofed-3.5.ebuild b/sys-infiniband/ofed/ofed-3.5.ebuild new file mode 100644 index 000000000000..5fb9390cd636 --- /dev/null +++ b/sys-infiniband/ofed/ofed-3.5.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="OFED.3.5.rc2" + +IUSE_OFED_DRIVERS=" + ofed_drivers_cxgb3 + ofed_drivers_cxgb4 + ofed_drivers_ehca + ofed_drivers_ipath + ofed_drivers_mlx4 + ofed_drivers_mthca + ofed_drivers_nes + ofed_drivers_psm" + +inherit openib udev toolchain-funcs + +DESCRIPTION="OpenIB system files" +SCRIPTDIR="${S}/ofed_scripts" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="compat-dapl dapl +diags ibacm mstflint +opensm perftest rds sdp srp ${IUSE_OFED_DRIVERS}" + +RDEPEND="!sys-infiniband/openib + !sys-infiniband/openib-files + sys-infiniband/libibcm:${SLOT} + sys-infiniband/libibmad:${SLOT} + sys-infiniband/libibumad:${SLOT} + sys-infiniband/librdmacm:${SLOT} + compat-dapl? ( sys-infiniband/compat-dapl:${SLOT} ) + dapl? ( sys-infiniband/dapl:${SLOT} ) + diags? ( sys-infiniband/infiniband-diags:${SLOT} ) + ibacm? ( sys-infiniband/ibacm:${SLOT} ) + mstflint? ( sys-infiniband/mstflint:${SLOT} ) + opensm? ( sys-infiniband/opensm:${SLOT} ) + perftest? ( sys-infiniband/perftest:${SLOT} ) + srp? ( sys-infiniband/srptools:${SLOT} ) + ofed_drivers_cxgb3? ( sys-infiniband/libcxgb3:${SLOT} ) + ofed_drivers_cxgb4? ( sys-infiniband/libcxgb4:${SLOT} ) + ofed_drivers_ehca? ( sys-infiniband/libehca:${SLOT} ) + ofed_drivers_ipath? ( sys-infiniband/libipathverbs:${SLOT} ) + ofed_drivers_mlx4? ( sys-infiniband/libmlx4:${SLOT} ) + ofed_drivers_mthca? ( sys-infiniband/libmthca:${SLOT} ) + ofed_drivers_nes? ( sys-infiniband/libnes:${SLOT} ) + ofed_drivers_psm? ( sys-infiniband/infinipath-psm:${SLOT} ) + " +DEPEND="${RDEPEND} + virtual/pkgconfig + " + +src_configure() { :; } +src_compile() { :; } + +src_install() { + udev_newrules "${SCRIPTDIR}/90-ib.rules" 40-ib.rules + insinto /etc/modprobe.d + newins "${FILESDIR}/openib.modprobe" openib.conf + newenvd "${FILESDIR}/openib.env" 02openib + insinto /etc/infiniband + + doinitd "${FILESDIR}/openib" + + # build openib.conf based on ofed_scripts/ofa_kernel.spec + build_ipoib=1 + build_sdp=1 + cp "${SCRIPTDIR}/openib.conf" "${T}" + IB_CONF_DIR=${T} + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load UCM module" >> ${IB_CONF_DIR}/openib.conf + echo "UCM_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load RDMA_CM module" >> ${IB_CONF_DIR}/openib.conf + echo "RDMA_CM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load RDMA_UCM module" >> ${IB_CONF_DIR}/openib.conf + echo "RDMA_UCM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Increase ib_mad thread priority" >> ${IB_CONF_DIR}/openib.conf + echo "RENICE_IB_MAD=no" >> ${IB_CONF_DIR}/openib.conf + + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load MTHCA" >> ${IB_CONF_DIR}/openib.conf + echo "MTHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + if use ofed_drivers_ipath; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load IPATH" >> ${IB_CONF_DIR}/openib.conf + echo "IPATH_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if use ofed_drivers_ehca; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load eHCA" >> ${IB_CONF_DIR}/openib.conf + echo "EHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if use ofed_drivers_mlx4; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load MLX4 modules" >> ${IB_CONF_DIR}/openib.conf + echo "MLX4_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if (( build_ipoib )); then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load IPoIB" >> ${IB_CONF_DIR}/openib.conf + echo "#IPOIB_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Enable IPoIB Connected Mode" >> ${IB_CONF_DIR}/openib.conf + echo "#SET_IPOIB_CM=yes" >> ${IB_CONF_DIR}/openib.conf + # from ofa_user.spec: + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Enable IPoIB High Availability daemon" >> ${IB_CONF_DIR}/openib.conf + echo "#IPOIBHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf + echo "# PRIMARY_IPOIB_DEV=ib0" >> ${IB_CONF_DIR}/openib.conf + echo "# SECONDARY_IPOIB_DEV=ib1" >> ${IB_CONF_DIR}/openib.conf + fi + if (( build_sdp )); then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load SDP module" >> ${IB_CONF_DIR}/openib.conf + echo "#SDP_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + if use srp; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load SRP module" >> ${IB_CONF_DIR}/openib.conf + echo "#SRP_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + # from ofa_user.spec: + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Enable SRP High Availability daemon" >> ${IB_CONF_DIR}/openib.conf + echo "#SRPHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf + + fi + if use iser; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load ISER module" >> ${IB_CONF_DIR}/openib.conf + echo "#ISER_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + fi + if use rds; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load RDS module" >> ${IB_CONF_DIR}/openib.conf + echo "#RDS_LOAD=no" >> ${IB_CONF_DIR}/openib.conf + fi + if use vnic; then + echo >> ${IB_CONF_DIR}/openib.conf + echo "# Load VNIC module" >> ${IB_CONF_DIR}/openib.conf + echo "#VNIC_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf + fi + + doins "${T}/openib.conf" +} + +pkg_postinst() { + einfo "Configuration file installed in /etc/infiniband/openib.conf" + einfo "To automatically initialize infiniband on boot, add openib to your" + einfo "start-up scripts, like so:" + einfo "\`rc-update add openib default\`" + +} diff --git a/sys-infiniband/opensm/Manifest b/sys-infiniband/opensm/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/opensm/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/opensm/files/opensm-3.3.17-norpm.patch b/sys-infiniband/opensm/files/opensm-3.3.17-norpm.patch new file mode 100644 index 000000000000..1300d923eb7d --- /dev/null +++ b/sys-infiniband/opensm/files/opensm-3.3.17-norpm.patch @@ -0,0 +1,32 @@ +--- opensm-3.3.17/configure.in.orig 2014-01-30 23:13:35.000000000 +0400 ++++ opensm-3.3.17/configure.in 2014-12-27 02:48:11.264876067 +0300 +@@ -17,11 +17,7 @@ + [name of the RDMA service: "rdma" when using /etc/init.d/rdma to start RDMA services; "openibd" when using /etc/init.d/openibd to start RDMA services [default=${default_rdma_service}]])) + AC_SUBST(RDMA_SERVICE, ${with_rdma_service:-${default_rdma_service}}) + +-if { rpm -q sles-release || rpm -q openSUSE-release; } >/dev/null 2>&1; then +- default_stop="0 1 4 6" +-else +- default_stop="0 1 6" +-fi ++default_stop="0 1 6" + + default_start="null" + +@@ -282,4 +278,4 @@ + AC_CONFIG_FILES([man/opensm.8 man/torus-2QoS.8 man/torus-2QoS.conf.5 scripts/opensm.init scripts/redhat-opensm.init scripts/sldd.sh]) + + dnl Create the following Makefiles +-AC_OUTPUT([include/opensm/osm_version.h Makefile include/Makefile complib/Makefile libvendor/Makefile opensm/Makefile osmeventplugin/Makefile osmtest/Makefile opensm.spec]) ++AC_OUTPUT([include/opensm/osm_version.h Makefile include/Makefile complib/Makefile libvendor/Makefile opensm/Makefile osmeventplugin/Makefile osmtest/Makefile]) +--- opensm-3.3.17/Makefile.am.orig 2013-02-07 11:46:28.000000000 +0400 ++++ opensm-3.3.17/Makefile.am 2014-12-27 02:48:45.133654187 +0300 +@@ -19,7 +19,7 @@ + doc/partition-config.txt doc/opensm-sriov.txt \ + doc/opensm_release_notes-3.3.txt + +-EXTRA_DIST = autogen.sh opensm.spec $(various_scripts) $(man_MANS) $(docs) ++EXTRA_DIST = autogen.sh $(various_scripts) $(man_MANS) $(docs) + + dist-hook: $(EXTRA_DIST) + if [ -x $(top_srcdir)/gen_chlog.sh ] ; then \ diff --git a/sys-infiniband/opensm/files/opensm-3.3.17-sldd.patch b/sys-infiniband/opensm/files/opensm-3.3.17-sldd.patch new file mode 100644 index 000000000000..d7eb3ec24b9b --- /dev/null +++ b/sys-infiniband/opensm/files/opensm-3.3.17-sldd.patch @@ -0,0 +1,20 @@ +--- opensm-3.3.17/scripts/sldd.sh.in.orig 2013-02-07 11:46:29.000000000 +0400 ++++ opensm-3.3.17/scripts/sldd.sh.in 2014-12-27 04:47:24.488636743 +0300 +@@ -42,7 +42,7 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ + +-CONFIG=@sysconfdir@/sysconfig/opensm ++CONFIG=@sysconfdir@/conf.d/sldd + if [ -f $CONFIG ]; then + . $CONFIG + fi +@@ -57,7 +57,7 @@ + + RCP=${RCP:-/usr/bin/scp} + RSH=${RSH:-/usr/bin/ssh} +-IFCONFIG=${IFCONFIG:-'/sbin/ifconfig -a'} ++IFCONFIG=${IFCONFIG:-'/bin/ifconfig -a'} + + declare -i SLDD_DEBUG + RESCAN_TIME=${RESCAN_TIME:-60} diff --git a/sys-infiniband/opensm/files/opensm.conf.d b/sys-infiniband/opensm/files/opensm.conf.d new file mode 100644 index 000000000000..4f0cd49a4bc5 --- /dev/null +++ b/sys-infiniband/opensm/files/opensm.conf.d @@ -0,0 +1,3 @@ +# Provide OpenSM options here. +# See man opensm for details +OSM_OPTIONS="" diff --git a/sys-infiniband/opensm/files/opensm.init.d b/sys-infiniband/opensm/files/opensm.init.d new file mode 100644 index 000000000000..ebf97ce2e737 --- /dev/null +++ b/sys-infiniband/opensm/files/opensm.init.d @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need openib + after net # ip net seems to be needed to perform management. +} + +prog=/usr/sbin/opensm + +start() { + ebegin "Starting OpenSM Infiniband Subnet Manager" + start-stop-daemon --start --background --exec $prog -- $OSM_OPTIONS + eend $? +} + +stop() { + ebegin "Stopping OpenSM Infiniband Subnet Manager" + start-stop-daemon --stop --exec $prog + eend $? +} + diff --git a/sys-infiniband/opensm/files/sldd.conf.d b/sys-infiniband/opensm/files/sldd.conf.d new file mode 100644 index 000000000000..ee0e88750310 --- /dev/null +++ b/sys-infiniband/opensm/files/sldd.conf.d @@ -0,0 +1,21 @@ +# Tho following variables will used for sldd.sh +# +# You must setup this for sldd to work +OSM_HOSTS="" + +### Optional variables (defaults are commented out) + +# Debug level +#SLDD_DEBUG="0" + +# OpenSM cache files +#CACHE_FILE="/var/cache/opensm/guid2lid:/var/cache/opensm/guid2mkey:/var/cache/opensm/neighbors" + +# System calls +#PING="ping -w 1 -c 1" +#RCP="/usr/bin/scp" +#SSH="/usr/bin/ssh" +#IFCONFIG="/bin/ifconfig -a" + +# Delay between hosts scan +#RESCAN_TIME="60" diff --git a/sys-infiniband/opensm/files/sldd.init.d b/sys-infiniband/opensm/files/sldd.init.d new file mode 100644 index 000000000000..8f96af77bbd8 --- /dev/null +++ b/sys-infiniband/opensm/files/sldd.init.d @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need opensm + after net # ip net seems to be needed to perform management. +} + +prog=/usr/sbin/sldd.sh +pidfile=/var/run/sldd.pid + +start() { + ebegin "Starting Semi-static LID OpenSM Distribution Manager" + start-stop-daemon --start --background --pidfile "${pidfile}" \ + --make-pidfile --wait 500 --exec $prog + eend $? +} + +stop() { + ebegin "Stopping OpenSM Infiniband Subnet Manager" + start-stop-daemon --stop --pidfile "${pidfile}" + eend $? +} + diff --git a/sys-infiniband/opensm/metadata.xml b/sys-infiniband/opensm/metadata.xml new file mode 100644 index 000000000000..eb4ecb9d802f --- /dev/null +++ b/sys-infiniband/opensm/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <longdescription> +OpenSM provides an implementation for an InfiniBand Subnet Manager and +Administrator. Such a software entity is required to run for in order to +initialize the InfiniBand hardware (at least one per each InfiniBand subnet). +</longdescription> +<use> + <flag name="tools">Install ssld extra tool</flag> +</use> +</pkgmetadata> diff --git a/sys-infiniband/opensm/opensm-3.3.15.ebuild b/sys-infiniband/opensm/opensm-3.3.15.ebuild new file mode 100644 index 000000000000..85400d568fa4 --- /dev/null +++ b/sys-infiniband/opensm/opensm-3.3.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibmad:${SLOT} + sys-infiniband/libibumad:${SLOT}" +RDEPEND="$DEPEND + net-misc/iputils" +block_other_ofed_versions + +src_configure() { + econf \ + --enable-perf-mgr \ + --enable-default-event-plugin \ + --with-osmv="openib" +} + +src_install() { + default + newconfd "${S}/scripts/opensm.sysconfig" opensm + newinitd "${FILESDIR}/opensm.init.d" opensm + insinto /etc/logrotate.d + newins "${S}/scripts/opensm.logrotate" opensm + # we dont nee this int script + rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed" +} + +pkg_postinst() { + einfo "To automatically configure the infiniband subnet manager on boot," + einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:" + einfo "\`rc-update add opensm default\`" +} diff --git a/sys-infiniband/opensm/opensm-3.3.17-r1.ebuild b/sys-infiniband/opensm/opensm-3.3.17-r1.ebuild new file mode 100644 index 000000000000..1382532e2b87 --- /dev/null +++ b/sys-infiniband/opensm/opensm-3.3.17-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit autotools eutils openib + +DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="tools" + +DEPEND=" + sys-infiniband/libibmad:${SLOT} + sys-infiniband/libibumad:${SLOT}" +RDEPEND="$DEPEND + tools? ( + net-misc/iputils + net-misc/openssh + )" +block_other_ofed_versions + +src_prepare() { + epatch "${FILESDIR}/${P}-norpm.patch" + epatch "${FILESDIR}/${P}-sldd.patch" + eautoreconf +} + +src_configure() { + econf \ + --enable-perf-mgr \ + --enable-default-event-plugin \ + --with-osmv="openib" +} + +src_install() { + default + newconfd "${FILESDIR}/opensm.conf.d" opensm + newinitd "${FILESDIR}/opensm.init.d" opensm + insinto /etc/logrotate.d + newins "${S}/scripts/opensm.logrotate" opensm + # we dont nee this int script + rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed" + + if use tools; then + dosbin scripts/sldd.sh + newconfd "${FILESDIR}/sldd.conf.d" sldd + newinitd "${FILESDIR}/sldd.init.d" sldd + fi +} + +pkg_postinst() { + einfo "To automatically configure the infiniband subnet manager on boot," + einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:" + einfo "\`rc-update add opensm default\`" +} diff --git a/sys-infiniband/perftest/Manifest b/sys-infiniband/perftest/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/perftest/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/perftest/metadata.xml b/sys-infiniband/perftest/metadata.xml new file mode 100644 index 000000000000..8fb8c1c2eb9e --- /dev/null +++ b/sys-infiniband/perftest/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <longdescription> +OpenIB uverbs micro-benchmarks. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/perftest/perftest-1.4.0.ebuild b/sys-infiniband/perftest/perftest-1.4.0.ebuild new file mode 100644 index 000000000000..1c68b6b7da15 --- /dev/null +++ b/sys-infiniband/perftest/perftest-1.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="0.80.gd1763bd" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB uverbs micro-benchmarks" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + sys-infiniband/libibumad:${SLOT} + sys-infiniband/librdmacm:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions + +src_install() { + dodoc README runme + dobin ib_* +} diff --git a/sys-infiniband/perftest/perftest-2.0.ebuild b/sys-infiniband/perftest/perftest-2.0.ebuild new file mode 100644 index 000000000000..c62e468c1480 --- /dev/null +++ b/sys-infiniband/perftest/perftest-2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="0.80.g54c73c6" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="OpenIB uverbs micro-benchmarks" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + sys-infiniband/libibumad:${SLOT} + sys-infiniband/librdmacm:${SLOT}" +RDEPEND="${DEPEND}" +block_other_ofed_versions + +src_install() { + dodoc README runme + dobin ib_* +} diff --git a/sys-infiniband/qperf/Manifest b/sys-infiniband/qperf/Manifest new file mode 100644 index 000000000000..a6c7bd74e5e8 --- /dev/null +++ b/sys-infiniband/qperf/Manifest @@ -0,0 +1 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 diff --git a/sys-infiniband/qperf/metadata.xml b/sys-infiniband/qperf/metadata.xml new file mode 100644 index 000000000000..f32cc6d6c3ca --- /dev/null +++ b/sys-infiniband/qperf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +libibverbs is a library that allows programs to use InfiniBand "verbs" +for direct access to IB hardware from userspace. For more information +on verbs, see the InfiniBand Architecture Specification vol. 1, +especially chapter 11. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/qperf/qperf-0.4.9.ebuild b/sys-infiniband/qperf/qperf-0.4.9.ebuild new file mode 100644 index 000000000000..c87f63c90be3 --- /dev/null +++ b/sys-infiniband/qperf/qperf-0.4.9.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="Measure RDMA and IP performance" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + sys-infiniband/librdmacm:${SLOT} + " +RDEPEND=" + !sys-infiniband/openib-userspace" +block_other_ofed_versions diff --git a/sys-infiniband/rds-tools/Manifest b/sys-infiniband/rds-tools/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/rds-tools/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/rds-tools/files/rds-tools-2.0.4-qa.patch b/sys-infiniband/rds-tools/files/rds-tools-2.0.4-qa.patch new file mode 100644 index 000000000000..0a8e1a575c4a --- /dev/null +++ b/sys-infiniband/rds-tools/files/rds-tools-2.0.4-qa.patch @@ -0,0 +1,59 @@ +Respect CC,CFLAGS, fix install paths, don't strip binaries + +https://bugs.gentoo.org/show_bug.cgi?id=374805 +--- Makefile.in ++++ Makefile.in +@@ -1,12 +1,15 @@ +-prefix = $(DESTDIR)@prefix@ +-exec_prefix = $(DESTDIR)@exec_prefix@ +-bindir = $(DESTDIR)@bindir@ +-mandir = $(DESTDIR)@mandir@ +-incdir = $(DESTDIR)@includedir@ ++bindir = @bindir@ ++exec_prefix = @exec_prefix@ ++includedir = @includedir@ ++libdir = @libdir@ ++mandir = @mandir@ ++mkdir_p = @mkdir_p@ ++prefix = @prefix@ ++INSTALL = /usr/bin/install + + all: all-programs + +-CFLAGS = -O2 -Wall -Iinclude ++CFLAGS += -Wall -Iinclude + CPPFLAGS = -DDEBUG_EXE -DRDS_VERSION=\"@VERSION@\" -MD -MP -MF $(@D)/.$(basename $(@F)).d + + HEADERS = kernel-list.h pfhack.h include/rds.h +@@ -29,14 +32,14 @@ + all-programs: $(PROGRAMS) + + install: $(PROGRAMS) +- install -d $(bindir) +- install -m 555 -s $(PROGRAMS) $(bindir) +- install -d $(mandir)/man1 +- install -d $(mandir)/man7 +- install -m 644 *.1 $(mandir)/man1 +- install -m 644 *.7 $(mandir)/man7 +- install -d $(incdir)/net +- install -m 444 include/rds.h $(incdir)/net ++ $(INSTALL) -d $(DESTDIR)$(bindir) ++ $(INSTALL) -m 555 $(PROGRAMS) $(DESTDIR)$(bindir) ++ $(INSTALL) -d $(DESTDIR)$(mandir)/man1 ++ $(INSTALL) -d $(DESTDIR)$(mandir)/man7 ++ $(INSTALL) -m 644 *.1 $(DESTDIR)$(mandir)/man1 ++ $(INSTALL) -m 644 *.7 $(DESTDIR)$(mandir)/man7 ++ $(INSTALL) -d $(DESTDIR)$(includedir)/net ++ $(INSTALL) -m 444 include/rds.h $(DESTDIR)$(includedir)/net + + clean: + rm -f $(PROGRAMS) $(CLEAN_OBJECTS) +@@ -47,7 +50,7 @@ + + + $(PROGRAMS) : % : %.o $(COMMON_OBJECTS) +- gcc $(CFLAGS) $(LDFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + + LOCAL_DFILES := $(wildcard .*.d) + ifneq ($(LOCAL_DFILES),) diff --git a/sys-infiniband/rds-tools/metadata.xml b/sys-infiniband/rds-tools/metadata.xml new file mode 100644 index 000000000000..c4ae6f4a7ac3 --- /dev/null +++ b/sys-infiniband/rds-tools/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<longdescription> +uDAPL is a transport neutral infrastructure that provides RDMA capabilities in +user space. It is the user space component of DAPL, the Direct Access Provider +Library for RDMA transports. See http://www.datcollaborative.org/ +</longdescription> +<use> +</use> +</pkgmetadata> diff --git a/sys-infiniband/rds-tools/rds-tools-2.0.4-r2.ebuild b/sys-infiniband/rds-tools/rds-tools-2.0.4-r2.ebuild new file mode 100644 index 000000000000..21aaa51a2453 --- /dev/null +++ b/sys-infiniband/rds-tools/rds-tools-2.0.4-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="1" + +inherit base openib toolchain-funcs + +DESCRIPTION="OpenIB userspace rds-tools" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions + +DOCS=( README ) +PATCHES=( "${FILESDIR}"/${P}-qa.patch ) + +pkg_setup() { + tc-export CC +} diff --git a/sys-infiniband/rds-tools/rds-tools-2.0.4-r3.ebuild b/sys-infiniband/rds-tools/rds-tools-2.0.4-r3.ebuild new file mode 100644 index 000000000000..c7011eec971d --- /dev/null +++ b/sys-infiniband/rds-tools/rds-tools-2.0.4-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit base openib toolchain-funcs + +DESCRIPTION="OpenIB userspace rds-tools" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="sys-infiniband/libibverbs:${SLOT}" +RDEPEND="${DEPEND} + !sys-infiniband/openib-userspace" +block_other_ofed_versions + +DOCS=( README ) +PATCHES=( "${FILESDIR}"/${P}-qa.patch ) + +pkg_setup() { + tc-export CC +} diff --git a/sys-infiniband/srptools/Manifest b/sys-infiniband/srptools/Manifest new file mode 100644 index 000000000000..ca457c585395 --- /dev/null +++ b/sys-infiniband/srptools/Manifest @@ -0,0 +1,2 @@ +DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9 +DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd diff --git a/sys-infiniband/srptools/files/srpd.initd b/sys-infiniband/srptools/files/srpd.initd new file mode 100644 index 000000000000..3588a4039306 --- /dev/null +++ b/sys-infiniband/srptools/files/srpd.initd @@ -0,0 +1,42 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +description="SCSI RDMA Protoaemon daemon" + +depend() { + need net +} + +checkconfig() { + if ! modinfo ib_srp > /dev/null 2>&1 ; then + eerror "ib_srp module not found!" + return 1 + fi +} + +start() { + checkconfig + ebegin "Loading ib_srp module" + modprobe ib_srp + eend $? + ebegin "Starting srp_daemon" + start-stop-daemon \ + --start \ + --background \ + --make-pidfile \ + --pidfile ${SRP_DAEMON_PID:-/var/run/srpd.pid} \ + --exec /usr/sbin/srp_daemon -- ${SRP_DAEMON_OPTS:- -e -R 60} + eend $? + +} + +stop() { + ebegin "Stopping srp_daemon" + start-stop-daemon --stop --pidfile ${SRP_DAEMON_PID:-/var/run/srpd.pid} + eend $? + ebegin "Unloading ib_srp module" + rmmod ib_srp + eend $? +} diff --git a/sys-infiniband/srptools/metadata.xml b/sys-infiniband/srptools/metadata.xml new file mode 100644 index 000000000000..68d6e02a66c8 --- /dev/null +++ b/sys-infiniband/srptools/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <longdescription> +srptools is a package of tools for discovering and connecting to SRP +SCSI targets on InfiniBand fabrics. These targets can be accessed +with the InfiniBand SRP initiator module, "ib_srp," included in Linux +kernels 2.6.15 and newer. +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/srptools/srptools-0.0.4-r2.ebuild b/sys-infiniband/srptools/srptools-0.0.4-r2.ebuild new file mode 100644 index 000000000000..09e617260f20 --- /dev/null +++ b/sys-infiniband/srptools/srptools-0.0.4-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +OFED_VER="3.5" +OFED_RC="1" +OFED_RC_VER="2" +OFED_SUFFIX="0.1.gce1f64c" +OFED_SNAPSHOT="1" + +inherit openib + +DESCRIPTION="Tools for discovering and connecting to SRP CSI targets on InfiniBand fabrics" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + sys-infiniband/libibumad:${SLOT} + " +RDEPEND="${DEPEND}" +block_other_ofed_versions + +src_install() { + default + newinitd "${FILESDIR}/srpd.initd" srpd +} diff --git a/sys-infiniband/srptools/srptools-1.0.2.ebuild b/sys-infiniband/srptools/srptools-1.0.2.ebuild new file mode 100644 index 000000000000..e5870d22c4c4 --- /dev/null +++ b/sys-infiniband/srptools/srptools-1.0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +OFED_VER="3.12" +OFED_RC="1" +OFED_RC_VER="1" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="Tools for discovering and connecting to SRP CSI targets on InfiniBand fabrics" + +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + sys-infiniband/libibverbs:${SLOT} + sys-infiniband/libibumad:${SLOT} + " +RDEPEND="${DEPEND}" +block_other_ofed_versions + +src_install() { + default + newinitd "${FILESDIR}/srpd.initd" srpd +} |