Blame SPECS/rdma-core.spec

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