Blame SPECS/rdma-core.spec

88c4d2
Name: rdma-core
6698ac
Version: 15
6698ac
Release: 6%{?dist}
88c4d2
Summary: RDMA core userspace libraries and daemons
88c4d2
88c4d2
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
88c4d2
#  providers/ipathverbs/ Dual licensed using a BSD license with an extra patent clause
88c4d2
#  providers/rxe/ Incorporates code from ipathverbs and contains the patent clause
88c4d2
#  providers/hfi1verbs Uses the 3 Clause BSD license
88c4d2
License: GPLv2 or BSD
88c4d2
Url: https://github.com/linux-rdma/rdma-core
88c4d2
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
88c4d2
Patch1: redhat-kernel-init-ocrdma-is-tech-preview.patch
88c4d2
Patch2: redhat-kernel-init-libi40iw-no-longer-tech-preview.patch
6698ac
Patch3: 0001-ibacm-incorrect-usage-of-be-byte.patch
6698ac
Patch4: 0002-ibacm-incorrect-list-used-for.patch
6698ac
Patch5: 0001-srp_daemon-Don-t-create-async_ev_thread-if-only-run-.patch
6698ac
Patch6: 0001-srp_daemon-Remove-unsupported-systemd-configurations.patch
6698ac
Patch7: 0001-srp_daemon-srp_daemon.service-should-be-started-afte.patch
6698ac
Patch8: librdmacm-add-support-for-extended-join-mc.patch
6698ac
Patch9: librdmacm-mckey-test-support-for-send-only-full-member.patch
6698ac
Patch10: 0001-Add-a-helper-function-to-verify-64-bit-comp-mask.patch
6698ac
Patch11: 0002-mlx5-Report-Multi-Packet-RQ-capabilities-through-mlx.patch
6698ac
Patch12: 0003-mlx5-Allow-creation-of-a-Multi-Packet-RQ-using-direc.patch
6698ac
Patch13: mlx4-add-a-report-of-rss-cap.patch
6698ac
Patch14: 0001-iwpmd-fix-double-mutex-unlock.patch
6698ac
Patch15: libbnxt_re_fix_lat_test_failure_in_event_mode.patch
88c4d2
88c4d2
BuildRequires: binutils
88c4d2
BuildRequires: cmake >= 2.8.11
88c4d2
BuildRequires: gcc
88c4d2
BuildRequires: libudev-devel
88c4d2
BuildRequires: pkgconfig
88c4d2
BuildRequires: pkgconfig(libnl-3.0)
88c4d2
BuildRequires: pkgconfig(libnl-route-3.0)
88c4d2
%ifnarch s390
88c4d2
BuildRequires: valgrind-devel
88c4d2
%endif
88c4d2
BuildRequires: systemd
88c4d2
BuildRequires: python
88c4d2
BuildRequires: sed
88c4d2
88c4d2
Requires: dracut, kmod, initscripts, systemd
88c4d2
%if 0%{?fedora} >= 24
88c4d2
Requires: systemd-udev
88c4d2
%endif
88c4d2
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
88c4d2
# package called 'rdma', which we're supplanting here.
88c4d2
Provides: rdma = %{version}-%{release}
88c4d2
Obsoletes: rdma < %{version}-%{release}
88c4d2
Provides: rdma-ndd = %{version}-%{release}
88c4d2
Obsoletes: rdma-ndd < %{version}-%{release}
88c4d2
# the ndd utility moved from infiniband-diags to rdma-core
88c4d2
Conflicts: infiniband-diags <= 1.6.5
88c4d2
Requires: pciutils
88c4d2
# 32-bit arm is missing required arch-specific memory barriers,
88c4d2
ExcludeArch: %{arm}
88c4d2
88c4d2
# Since we recommend developers use Ninja, so should packagers, for consistency.
88c4d2
%define CMAKE_FLAGS %{nil}
88c4d2
%if 0%{?fedora} >= 23
88c4d2
# Ninja was introduced in FC23
88c4d2
BuildRequires: ninja-build
88c4d2
%define CMAKE_FLAGS -GNinja
88c4d2
%define make_jobs ninja-build -v %{?_smp_mflags}
88c4d2
%define cmake_install DESTDIR=%{buildroot} ninja-build install
88c4d2
%else
88c4d2
# Fallback to make otherwise
88c4d2
BuildRequires: make
88c4d2
%define make_jobs make -v %{?_smp_mflags}
88c4d2
%define cmake_install DESTDIR=%{buildroot} make install
88c4d2
%endif
88c4d2
88c4d2
%description
88c4d2
RDMA core userspace infrastructure and documentation, including initscripts,
88c4d2
kernel driver-specific modprobe override configs, IPoIB network scripts,
88c4d2
dracut rules, and the rdma-ndd utility.
88c4d2
88c4d2
%package devel
88c4d2
Summary: RDMA core development libraries and headers
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibverbs = %{version}-%{release}
88c4d2
Provides: libibverbs-devel = %{version}-%{release}
88c4d2
Obsoletes: libibverbs-devel < %{version}-%{release}
88c4d2
Provides: libibverbs-devel-static = %{version}-%{release}
88c4d2
Obsoletes: libibverbs-devel-static < %{version}-%{release}
88c4d2
Requires: libibcm = %{version}-%{release}
88c4d2
Provides: libibcm-devel = %{version}-%{release}
88c4d2
Obsoletes: libibcm-devel < %{version}-%{release}
88c4d2
Provides: libibcm-static = %{version}-%{release}
88c4d2
Obsoletes: libibcm-static < %{version}-%{release}
88c4d2
Requires: libibumad = %{version}-%{release}
88c4d2
Provides: libibumad-devel = %{version}-%{release}
88c4d2
Obsoletes: libibumad-devel < %{version}-%{release}
88c4d2
Provides: libibumad-static = %{version}-%{release}
88c4d2
Obsoletes: libibumad-static < %{version}-%{release}
88c4d2
Requires: librdmacm = %{version}-%{release}
88c4d2
Provides: librdmacm-devel = %{version}-%{release}
88c4d2
Obsoletes: librdmacm-devel < %{version}-%{release}
88c4d2
Provides: librdmacm-static = %{version}-%{release}
88c4d2
Obsoletes: librdmacm-static < %{version}-%{release}
88c4d2
Requires: ibacm = %{version}-%{release}
88c4d2
Provides: ibacm-devel = %{version}-%{release}
88c4d2
Obsoletes: ibacm-devel < %{version}-%{release}
88c4d2
Provides: libcxgb3-static = %{version}-%{release}
88c4d2
Obsoletes: libcxgb3-static < %{version}-%{release}
88c4d2
Provides: libcxgb4-static = %{version}-%{release}
88c4d2
Obsoletes: libcxgb4-static < %{version}-%{release}
88c4d2
Provides: libhfi1-static = %{version}-%{release}
88c4d2
Obsoletes: libhfi1-static < %{version}-%{release}
88c4d2
Provides: libipathverbs-static = %{version}-%{release}
88c4d2
Obsoletes: libipathverbs-static < %{version}-%{release}
88c4d2
Provides: libmlx4-static = %{version}-%{release}
88c4d2
Obsoletes: libmlx4-static < %{version}-%{release}
88c4d2
Provides: libmlx5-static = %{version}-%{release}
88c4d2
Obsoletes: libmlx5-static < %{version}-%{release}
88c4d2
Provides: libnes-static = %{version}-%{release}
88c4d2
Obsoletes: libnes-static < %{version}-%{release}
88c4d2
Provides: libocrdma-static = %{version}-%{release}
88c4d2
Obsoletes: libocrdma-static < %{version}-%{release}
88c4d2
Provides: libi40iw-devel-static = %{version}-%{release}
88c4d2
Obsoletes: libi40iw-devel-static < %{version}-%{release}
88c4d2
Provides: libmthca-static = %{version}-%{release}
88c4d2
Obsoletes: libmthca-static < %{version}-%{release}
88c4d2
88c4d2
%description devel
88c4d2
RDMA core development libraries and headers.
88c4d2
88c4d2
%package -n libibverbs
88c4d2
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
Provides: libcxgb3 = %{version}-%{release}
88c4d2
Obsoletes: libcxgb3 < %{version}-%{release}
88c4d2
Provides: libcxgb4 = %{version}-%{release}
88c4d2
Obsoletes: libcxgb4 < %{version}-%{release}
88c4d2
Provides: libhfi1 = %{version}-%{release}
88c4d2
Obsoletes: libhfi1 < %{version}-%{release}
88c4d2
Provides: libi40iw = %{version}-%{release}
88c4d2
Obsoletes: libi40iw < %{version}-%{release}
88c4d2
Provides: libipathverbs = %{version}-%{release}
88c4d2
Obsoletes: libipathverbs < %{version}-%{release}
88c4d2
Provides: libmlx4 = %{version}-%{release}
88c4d2
Obsoletes: libmlx4 < %{version}-%{release}
6698ac
%ifnarch s390
88c4d2
Provides: libmlx5 = %{version}-%{release}
88c4d2
Obsoletes: libmlx5 < %{version}-%{release}
88c4d2
%endif
88c4d2
Provides: libmthca = %{version}-%{release}
88c4d2
Obsoletes: libmthca < %{version}-%{release}
88c4d2
Provides: libnes = %{version}-%{release}
88c4d2
Obsoletes: libnes < %{version}-%{release}
88c4d2
Provides: libocrdma = %{version}-%{release}
88c4d2
Obsoletes: libocrdma < %{version}-%{release}
88c4d2
Provides: librxe = %{version}-%{release}
88c4d2
Obsoletes: librxe < %{version}-%{release}
88c4d2
Provides: libusnic_verbs = %{version}-%{release}
88c4d2
Obsoletes: libusnic_verbs < %{version}-%{release}
88c4d2
88c4d2
%description -n libibverbs
88c4d2
libibverbs is a library that allows userspace processes to use RDMA
88c4d2
"verbs" as described in the InfiniBand Architecture Specification and
88c4d2
the RDMA Protocol Verbs Specification.  This includes direct hardware
88c4d2
access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
88c4d2
fast path operations.
88c4d2
88c4d2
Device-specific plug-in ibverbs userspace drivers are included:
88c4d2
6698ac
- libbxnt_re: Broadcom NetXtreme-E RoCE HCA
88c4d2
- libcxgb3: Chelsio T3 iWARP HCA
88c4d2
- libcxgb4: Chelsio T4 iWARP HCA
88c4d2
- libhfi1: Intel Omni-Path HFI
88c4d2
- libhns: HiSilicon Hip06 SoC
88c4d2
- libi40iw: Intel Ethernet Connection X722 RDMA
88c4d2
- libipathverbs: QLogic InfiniPath HCA
88c4d2
- libmlx4: Mellanox ConnectX-3 InfiniBand HCA
88c4d2
- libmlx5: Mellanox Connect-IB/X-4+ InfiniBand HCA
88c4d2
- libmthca: Mellanox InfiniBand HCA
88c4d2
- libnes: NetEffect RNIC
88c4d2
- libocrdma: Emulex OneConnect RDMA/RoCE Device
88c4d2
- libqedr: QLogic QL4xxx RoCE HCA
88c4d2
- librxe: A software implementation of the RoCE protocol
6698ac
- libvmw_pvrdma: VMware paravirtual RDMA device
88c4d2
88c4d2
%package -n libibverbs-utils
88c4d2
Summary: Examples for the libibverbs library
88c4d2
Requires: libibverbs%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n libibverbs-utils
88c4d2
Useful libibverbs example programs such as ibv_devinfo, which
88c4d2
displays information about RDMA devices.
88c4d2
88c4d2
%package -n ibacm
88c4d2
Summary: InfiniBand Communication Manager Assistant
88c4d2
Requires(post): systemd-units
88c4d2
Requires(preun): systemd-units
88c4d2
Requires(postun): systemd-units
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibumad%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibverbs%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n ibacm
88c4d2
The ibacm daemon helps reduce the load of managing path record lookups on
88c4d2
large InfiniBand fabrics by providing a user space implementation of what
88c4d2
is functionally similar to an ARP cache.  The use of ibacm, when properly
88c4d2
configured, can reduce the SA packet load of a large IB cluster from O(n^2)
88c4d2
to O(n).  The ibacm daemon is started and normally runs in the background,
88c4d2
user applications need not know about this daemon as long as their app
88c4d2
uses librdmacm to handle connection bring up/tear down.  The librdmacm
88c4d2
library knows how to talk directly to the ibacm daemon to retrieve data.
88c4d2
88c4d2
%package -n iwpmd
88c4d2
Summary: iWarp Port Mapper userspace daemon
88c4d2
Requires(post): systemd-units
88c4d2
Requires(preun): systemd-units
88c4d2
Requires(postun): systemd-units
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n iwpmd
88c4d2
iwpmd provides a userspace service for iWarp drivers to claim
88c4d2
tcp ports through the standard socket interface.
88c4d2
88c4d2
%package -n libibcm
88c4d2
Summary: Userspace InfiniBand Connection Manager
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibverbs%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n libibcm
88c4d2
libibcm provides a userspace library that handles the majority of the low
88c4d2
level work required to open an RDMA connection between two machines.
88c4d2
88c4d2
%package -n libibumad
88c4d2
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n libibumad
88c4d2
libibumad provides the userspace management datagram (umad) library
88c4d2
functions, which sit on top of the umad modules in the kernel. These
88c4d2
are used by the IB diagnostic and management tools, including OpenSM.
88c4d2
88c4d2
%package -n librdmacm
88c4d2
Summary: Userspace RDMA Connection Manager
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibverbs%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n librdmacm
88c4d2
librdmacm provides a userspace RDMA Communication Managment API.
88c4d2
88c4d2
%package -n librdmacm-utils
88c4d2
Summary: Examples for the librdmacm library
88c4d2
Requires: librdmacm%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibverbs%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n librdmacm-utils
88c4d2
Example test programs for the librdmacm library.
88c4d2
88c4d2
%package -n srp_daemon
88c4d2
Summary: Tools for using the InfiniBand SRP protocol devices
88c4d2
Obsoletes: srptools <= 1.0.3
88c4d2
Provides: srptools = %{version}-%{release}
88c4d2
Obsoletes: openib-srptools <= 0.0.6
88c4d2
Requires(post): systemd-units
88c4d2
Requires(preun): systemd-units
88c4d2
Requires(postun): systemd-units
88c4d2
Requires: %{name}%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibumad%{?_isa} = %{version}-%{release}
88c4d2
Requires: libibverbs%{?_isa} = %{version}-%{release}
88c4d2
88c4d2
%description -n srp_daemon
88c4d2
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
88c4d2
discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
88c4d2
88c4d2
%prep
88c4d2
%setup
88c4d2
%patch1 -p1
88c4d2
%patch2 -p1
88c4d2
%patch3 -p1
6698ac
%patch4 -p1
6698ac
%patch5 -p1
6698ac
%patch6 -p1
6698ac
%patch7 -p1
6698ac
%patch8 -p1
6698ac
%patch9 -p1
6698ac
%patch10 -p1
6698ac
%patch11 -p1
6698ac
%patch12 -p1
6698ac
%patch13 -p1
6698ac
%patch14 -p1
6698ac
%patch15 -p1
88c4d2
88c4d2
%build
88c4d2
88c4d2
# New RPM defines _rundir, usually as /run
88c4d2
%if 0%{?_rundir:1}
88c4d2
%else
88c4d2
%define _rundir /var/run
88c4d2
%endif
88c4d2
88c4d2
# Pass all of the rpm paths directly to GNUInstallDirs and our other defines.
88c4d2
%cmake %{CMAKE_FLAGS} \
88c4d2
         -DCMAKE_BUILD_TYPE=Release \
88c4d2
         -DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
88c4d2
         -DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
88c4d2
         -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
88c4d2
         -DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
88c4d2
         -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
88c4d2
         -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
88c4d2
         -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
88c4d2
         -DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
88c4d2
         -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
88c4d2
         -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
88c4d2
         -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
88c4d2
         -DCMAKE_INSTALL_INITDDIR:PATH=%{_initrddir} \
88c4d2
         -DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
88c4d2
         -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}-%{version} \
88c4d2
         -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir}
88c4d2
%make_jobs
88c4d2
88c4d2
%install
88c4d2
%cmake_install
88c4d2
88c4d2
mkdir -p %{buildroot}/%{_sysconfdir}/rdma
88c4d2
88c4d2
# Red Hat specific glue
88c4d2
%global dracutlibdir %{_prefix}/lib/dracut
88c4d2
%global sysmodprobedir %{_prefix}/lib/modprobe.d
88c4d2
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts
88c4d2
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
88c4d2
mkdir -p %{buildroot}%{_libexecdir}
88c4d2
mkdir -p %{buildroot}%{_udevrulesdir}
88c4d2
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
88c4d2
mkdir -p %{buildroot}%{sysmodprobedir}
88c4d2
install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf
88c4d2
install -D -m0644 redhat/rdma.sriov-vfs %{buildroot}/%{_sysconfdir}/rdma/sriov-vfs
88c4d2
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
88c4d2
install -D -m0755 redhat/rdma.ifup-ib %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts/ifup-ib
88c4d2
install -D -m0755 redhat/rdma.ifdown-ib %{buildroot}/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ib
88c4d2
install -D -m0644 redhat/rdma.service %{buildroot}%{_unitdir}/rdma.service
88c4d2
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
88c4d2
install -D -m0644 redhat/rdma.udev-rules %{buildroot}%{_udevrulesdir}/98-rdma.rules
88c4d2
install -D -m0644 redhat/rdma.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
88c4d2
install -D -m0755 redhat/rdma.kernel-init %{buildroot}%{_libexecdir}/rdma-init-kernel
88c4d2
install -D -m0755 redhat/rdma.sriov-init %{buildroot}%{_libexecdir}/rdma-set-sriov-vf
88c4d2
install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh
88c4d2
88c4d2
# ibacm
88c4d2
bin/ib_acme -D . -O
88c4d2
# multi-lib conflict resolution hacks (bug 1429362)
88c4d2
sed -i -e 's|%{_libdir}|/usr/lib|' %{buildroot}%{_mandir}/man7/ibacm_prov.7
88c4d2
sed -i -e 's|%{_libdir}|/usr/lib|' ibacm_opts.cfg
88c4d2
install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
88c4d2
88c4d2
# Delete the package's init.d scripts
88c4d2
rm -rf %{buildroot}/%{_initrddir}/
88c4d2
88c4d2
%post -n libibverbs -p /sbin/ldconfig
88c4d2
%postun -n libibverbs -p /sbin/ldconfig
88c4d2
88c4d2
%post -n libibcm -p /sbin/ldconfig
88c4d2
%postun -n libibcm -p /sbin/ldconfig
88c4d2
88c4d2
%post -n libibumad -p /sbin/ldconfig
88c4d2
%postun -n libibumad -p /sbin/ldconfig
88c4d2
88c4d2
%post -n librdmacm -p /sbin/ldconfig
88c4d2
%postun -n librdmacm -p /sbin/ldconfig
88c4d2
88c4d2
%post -n ibacm
88c4d2
%systemd_post ibacm.service
88c4d2
%preun -n ibacm
88c4d2
%systemd_preun ibacm.service
88c4d2
%postun -n ibacm
88c4d2
%systemd_postun_with_restart ibacm.service
88c4d2
88c4d2
%post -n srp_daemon
88c4d2
%systemd_post srp_daemon.service
88c4d2
%preun -n srp_daemon
88c4d2
%systemd_preun srp_daemon.service
88c4d2
%postun -n srp_daemon
88c4d2
%systemd_postun_with_restart srp_daemon.service
88c4d2
88c4d2
%post -n iwpmd
88c4d2
%systemd_post iwpmd.service
88c4d2
%preun -n iwpmd
88c4d2
%systemd_preun iwpmd.service
88c4d2
%postun -n iwpmd
88c4d2
%systemd_postun_with_restart iwpmd.service
88c4d2
88c4d2
%files
88c4d2
%dir %{_sysconfdir}/rdma
88c4d2
%dir %{_docdir}/%{name}-%{version}
88c4d2
%doc %{_docdir}/%{name}-%{version}/README.md
6698ac
%doc %{_docdir}/%{name}-%{version}/udev.md
88c4d2
%config(noreplace) %{_sysconfdir}/rdma/*
88c4d2
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
6698ac
%ifnarch s390
88c4d2
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
6698ac
%endif
88c4d2
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
88c4d2
%{_sysconfdir}/sysconfig/network-scripts/*
6698ac
%{_unitdir}/rdma-hw.target
6698ac
%{_unitdir}/rdma-load-modules@.service
88c4d2
%{_unitdir}/rdma.service
88c4d2
%dir %{dracutlibdir}/modules.d/05rdma
88c4d2
%{dracutlibdir}/modules.d/05rdma/module-setup.sh
88c4d2
%{_udevrulesdir}/*
88c4d2
%{sysmodprobedir}/libmlx4.conf
88c4d2
%{_libexecdir}/rdma-init-kernel
88c4d2
%{_libexecdir}/rdma-set-sriov-vf
88c4d2
%{_libexecdir}/mlx4-setup.sh
88c4d2
%{_libexecdir}/truescale-serdes.cmds
88c4d2
%{_sbindir}/rdma-ndd
88c4d2
%{_unitdir}/rdma-ndd.service
88c4d2
%{_mandir}/man8/rdma-ndd.*
88c4d2
%license COPYING.*
88c4d2
88c4d2
%files devel
88c4d2
%doc %{_docdir}/%{name}-%{version}/MAINTAINERS
88c4d2
%dir %{_includedir}/infiniband
88c4d2
%dir %{_includedir}/rdma
88c4d2
%{_includedir}/infiniband/*
88c4d2
%{_includedir}/rdma/*
88c4d2
%{_libdir}/lib*.so
88c4d2
%{_mandir}/man3/ibv_*
88c4d2
%{_mandir}/man3/rdma*
88c4d2
%{_mandir}/man3/umad*
88c4d2
%{_mandir}/man3/*_to_ibv_rate.*
6698ac
%ifnarch s390
6698ac
%{_mandir}/man3/mlx4dv*
88c4d2
%{_mandir}/man3/mlx5dv*
88c4d2
%endif
88c4d2
%{_mandir}/man7/rdma_cm.*
88c4d2
88c4d2
%files -n libibverbs
88c4d2
%dir %{_sysconfdir}/libibverbs.d
88c4d2
%dir %{_libdir}/libibverbs
88c4d2
%{_libdir}/libibverbs*.so.*
88c4d2
%{_libdir}/libibverbs/*.so
6698ac
%ifnarch s390
6698ac
%{_libdir}/libmlx4.so.*
6698ac
%{_libdir}/libmlx5.so.*
88c4d2
%endif
88c4d2
%config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
88c4d2
%doc %{_docdir}/%{name}-%{version}/libibverbs.md
88c4d2
%doc %{_docdir}/%{name}-%{version}/rxe.md
88c4d2
%{_bindir}/rxe_cfg
88c4d2
%{_mandir}/man7/rxe*
6698ac
%ifnarch s390
6698ac
%{_mandir}/man7/mlx4dv*
88c4d2
%{_mandir}/man7/mlx5dv*
88c4d2
%endif
88c4d2
%{_mandir}/man8/rxe*
88c4d2
88c4d2
%files -n libibverbs-utils
88c4d2
%{_bindir}/ibv_*
88c4d2
%{_mandir}/man1/ibv_*
88c4d2
88c4d2
%files -n ibacm
88c4d2
%config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
88c4d2
%{_bindir}/ib_acme
88c4d2
%{_sbindir}/ibacm
88c4d2
%{_mandir}/man1/ibacm.*
88c4d2
%{_mandir}/man1/ib_acme.*
88c4d2
%{_mandir}/man7/ibacm.*
88c4d2
%{_mandir}/man7/ibacm_prov.*
88c4d2
%{_unitdir}/ibacm.service
6698ac
%{_unitdir}/ibacm.socket
88c4d2
%dir %{_libdir}/ibacm
88c4d2
%{_libdir}/ibacm/*
88c4d2
%doc %{_docdir}/%{name}-%{version}/ibacm.md
88c4d2
88c4d2
%files -n iwpmd
6698ac
%{_sbindir}/iwpmd
88c4d2
%{_unitdir}/iwpmd.service
88c4d2
%config(noreplace) %{_sysconfdir}/iwpmd.conf
6698ac
%{_mandir}/man8/iwpmd.*
88c4d2
%{_mandir}/man5/iwpmd.*
88c4d2
88c4d2
%files -n libibcm
88c4d2
%{_libdir}/libibcm*.so.*
88c4d2
%doc %{_docdir}/%{name}-%{version}/libibcm.md
88c4d2
88c4d2
%files -n libibumad
88c4d2
%{_libdir}/libibumad*.so.*
88c4d2
88c4d2
%files -n librdmacm
88c4d2
%{_libdir}/librdmacm*.so.*
88c4d2
%dir %{_libdir}/rsocket
88c4d2
%{_libdir}/rsocket/librspreload.so*
88c4d2
%doc %{_docdir}/%{name}-%{version}/librdmacm.md
88c4d2
%{_mandir}/man7/rsocket.*
88c4d2
88c4d2
%files -n librdmacm-utils
88c4d2
%{_bindir}/cmtime
88c4d2
%{_bindir}/mckey
88c4d2
%{_bindir}/rcopy
88c4d2
%{_bindir}/rdma_client
88c4d2
%{_bindir}/rdma_server
88c4d2
%{_bindir}/rdma_xclient
88c4d2
%{_bindir}/rdma_xserver
88c4d2
%{_bindir}/riostream
88c4d2
%{_bindir}/rping
88c4d2
%{_bindir}/rstream
88c4d2
%{_bindir}/ucmatose
88c4d2
%{_bindir}/udaddy
88c4d2
%{_bindir}/udpong
88c4d2
%{_mandir}/man1/cmtime.*
88c4d2
%{_mandir}/man1/mckey.*
88c4d2
%{_mandir}/man1/rcopy.*
88c4d2
%{_mandir}/man1/rdma_client.*
88c4d2
%{_mandir}/man1/rdma_server.*
88c4d2
%{_mandir}/man1/rdma_xclient.*
88c4d2
%{_mandir}/man1/rdma_xserver.*
88c4d2
%{_mandir}/man1/riostream.*
88c4d2
%{_mandir}/man1/rping.*
88c4d2
%{_mandir}/man1/rstream.*
88c4d2
%{_mandir}/man1/ucmatose.*
88c4d2
%{_mandir}/man1/udaddy.*
88c4d2
%{_mandir}/man1/udpong.*
88c4d2
88c4d2
%files -n srp_daemon
88c4d2
%config(noreplace) %{_sysconfdir}/srp_daemon.conf
88c4d2
%{_libexecdir}/srp_daemon/start_on_all_ports
88c4d2
%{_unitdir}/srp_daemon.service
88c4d2
%{_unitdir}/srp_daemon_port@.service
88c4d2
%{_sbindir}/ibsrpdm
88c4d2
%{_sbindir}/srp_daemon
88c4d2
%{_sbindir}/srp_daemon.sh
88c4d2
%{_sbindir}/run_srp_daemon
88c4d2
%{_mandir}/man1/ibsrpdm.1*
88c4d2
%{_mandir}/man1/srp_daemon.1*
88c4d2
%{_mandir}/man5/srp_daemon.service.5*
88c4d2
%{_mandir}/man5/srp_daemon_port@.service.5*
88c4d2
%doc %{_docdir}/%{name}-%{version}/ibsrpdm.md
88c4d2
88c4d2
%changelog
6698ac
* Mon Feb 19 2018 Jarod Wilson <jarod@redhat.com> 15-6
6698ac
- libbnxt_re: fix lat test failure in event mode
6698ac
- Resolves: rhbz#1545248
6698ac
6698ac
* Tue Feb 06 2018 Jarod Wilson <jarod@redhat.com> 15-5
6698ac
- libmlx4: report RSS caps for improved DPDK support
6698ac
- Fix double mutex unlock in iwpmd
6698ac
- Resolves: rhbz#1527350
6698ac
- Resolves: rhbz#1542362
6698ac
6698ac
* Mon Jan 15 2018 Jarod Wilson <jarod@redhat.com> 15-4
6698ac
- Add support for extended join multicast API in librdmacm
6698ac
- Add support for striding RQ on mlx5
6698ac
- Resolves: rhbz#1515487, rhbz#1516571
6698ac
6698ac
* Tue Dec 26 2017 Honggang Li <honli@redhat.com> 15-3
6698ac
- srp_daemon: Don't create async_ev_thread if only run once
6698ac
- srp_daemon: Remove unsupported systemd configurations
6698ac
- srp_daemon: Start srp_daemon service after network target
6698ac
- Resolves: bz1525193
6698ac
- Resolves: bz1528671
6698ac
6698ac
* Mon Nov 13 2017 Jarod Wilson <jarod@redhat.com> 15-2
6698ac
- Fix ibacm segfault and improper multicast handling
6698ac
- Resolves: rhbz#1502745
6698ac
- Resolves: rhbz#1502759
6698ac
6698ac
* Fri Sep 22 2017 Jarod Wilson <jarod@redhat.com> 15-1
6698ac
- Update to upstream v15 release
6698ac
- Resolves: rhbz#1494607
88c4d2
88c4d2
* Tue May 30 2017 Jarod Wilson <jarod@redhat.com> 13-7
88c4d2
- Add support for mlx5 Expand raw packet capabilities
88c4d2
- Resolves: rhbz#1456561
88c4d2
88c4d2
* Mon May 22 2017 Jarod Wilson <jarod@redhat.com> 13-6
88c4d2
- Clean up htonll/ntohll handling for opa-ff/infiniband-diags compile
88c4d2
- Add necessary Provides/Obsoletes for old -static packages
88c4d2
- Remove ibverbs providers that we aren't currently able to support
88c4d2
- Resolves: rhbz#1453096, rhbz#1451607
88c4d2
88c4d2
* Wed Apr 26 2017 Honggang Li <honli@redhat.com> 13-5
88c4d2
- rdma-ndd: Fix a busy loop for aarch64 platform
88c4d2
- Resolves: bz1442789
88c4d2
88c4d2
* Thu Apr 13 2017 Honggang Li <honli@redhat.com> 13-4
88c4d2
- srp_daemon: Don't rely on attribute offset in get_shared_pkeys
88c4d2
- Resolves: bz1432964
88c4d2
88c4d2
* Mon Apr 03 2017 Jarod Wilson <jarod@redhat.com> - 13-3
88c4d2
- Add necessary Provides/Obsoletes for rdma-ndd (rhbz 1437804)
88c4d2
88c4d2
* Mon Mar 27 2017 Jarod Wilson <jarod@redhat.com> - 13-2
88c4d2
- Build what we can on s390, don't exclude it entirely (rhbz 1434029)
88c4d2
88c4d2
* Tue Mar 21 2017 Jarod Wilson <jarod@redhat.com> - 13-1
88c4d2
- Update to rdma-core v13 release (rhbz 1404035)
88c4d2
- Mellanox mlx5 Direct Verbs support (rhbz 1426430)
88c4d2
- Get build working on s390x, less mlx5 (rhbz 1434029)
88c4d2
88c4d2
* Mon Mar 20 2017 Jarod Wilson <jarod@redhat.com> - 12-5
88c4d2
- Fix up multi-lib conflicts in ibacm files (rhbz 1429362)
88c4d2
88c4d2
* Mon Mar 13 2017 Jarod Wilson <jarod@redhat.com> - 12-4
88c4d2
- Clean up devel files list
88c4d2
- Fix up a few dependencies rpmdiff complained about (rhbz 1404035)
88c4d2
- Add Requires: pciutils for dracut to behave in minimalist cases (rhbz 1429046)
88c4d2
- Adjust Conflicts: on infiniband-diags to match RHEL packaging (rhbz 1428785)
88c4d2
88c4d2
* Mon Mar 06 2017 Jarod Wilson <jarod@redhat.com> - 12-3
88c4d2
- Take libi40iw out of tech-preview state (rhbz 1428930)
88c4d2
- Add ibv_*_pingpong man pages (rhbz 1416541)
88c4d2
88c4d2
* Thu Feb 09 2017 Jarod Wilson <jarod@redhat.com> - 12-2
88c4d2
- Make sure ocrdma module is classified as tech-preview (rhbz 1418224)
88c4d2
88c4d2
* Fri Jan 27 2017 Jarod Wilson <jarod@redhat.com> - 12-1
88c4d2
- Update to upstream final v12 release
88c4d2
88c4d2
* Wed Jan 25 2017 Jarod Wilson <jarod@redhat.com> - 12-0.1.rc3.1
88c4d2
- Initial import to Fedora package database via post-v12-rc3 git snapshot