Blame SPECS/rdma-core.spec

67cf66
Name: rdma-core
53b81e
Version: 29.0
53b81e
Release: 3%{?dist}
67cf66
Summary: RDMA core userspace libraries and daemons
67cf66
67cf66
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
67cf66
#  providers/ipathverbs/ Dual licensed using a BSD license with an extra patent clause
67cf66
#  providers/rxe/ Incorporates code from ipathverbs and contains the patent clause
67cf66
#  providers/hfi1verbs Uses the 3 Clause BSD license
67cf66
License: GPLv2 or BSD
67cf66
Url: https://github.com/linux-rdma/rdma-core
67cf66
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
67cf66
Source1: ibdev2netdev
53b81e
# Upstream had removed rxe_cfg from upstream git repo. RHEL-8.X has
53b81e
# to keep it for backward compatibility. 'rxe_cfg' and 'rxe_cfg.8.gz'
53b81e
# are extracted from libibverbs-26.0-8.el8 .
53b81e
Source2: rxe_cfg
53b81e
Source3: rxe_cfg.8.gz
67cf66
Patch1: redhat-kernel-init-libi40iw-no-longer-tech-preview.patch
67cf66
Patch2: i40iw-autoload-breaks-suspend.patch
baba1b
Patch3: udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch
53b81e
# stable-v29 patch
baba1b
Patch101: 0001-ABI-Files.patch
53b81e
Patch102: 0002-mlx5-Allocate-accurate-aligned-DM-memory-size.patch
53b81e
Patch104: 0004-buildlib-Fix-a-warning-from-newer-pythons.patch
53b81e
Patch105: 0005-libibverbs-Fix-description-of-ibv_get_device_guid-ma.patch
53b81e
Patch106: 0006-verbs-Fix-ibv_create_wq-to-set-wq_context.patch
53b81e
Patch108: 0008-libibverbs-Fix-ABI_placeholder1-and-ABI_placeholder2.patch
67cf66
# Do not build static libs by default.
67cf66
%define with_static %{?_with_static: 1} %{?!_with_static: 0}
67cf66
67cf66
BuildRequires: binutils
67cf66
BuildRequires: cmake >= 2.8.11
67cf66
BuildRequires: gcc
67cf66
BuildRequires: libudev-devel
67cf66
BuildRequires: pkgconfig
67cf66
BuildRequires: pkgconfig(libnl-3.0)
67cf66
BuildRequires: pkgconfig(libnl-route-3.0)
baba1b
BuildRequires: python3-docutils
67cf66
%ifarch %{valgrind_arches}
67cf66
BuildRequires: valgrind-devel
67cf66
%endif
67cf66
BuildRequires: systemd
67cf66
BuildRequires: python3-devel
67cf66
BuildRequires: sed
53b81e
BuildRequires: perl-generators
67cf66
67cf66
Requires: dracut, kmod, systemd
67cf66
%if 0%{?fedora} >= 24
67cf66
Requires: systemd-udev
67cf66
%endif
67cf66
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
67cf66
# package called 'rdma', which we're supplanting here.
67cf66
Provides: rdma = %{version}-%{release}
67cf66
Obsoletes: rdma < %{version}-%{release}
67cf66
Provides: rdma-ndd = %{version}-%{release}
67cf66
Obsoletes: rdma-ndd < %{version}-%{release}
67cf66
# the ndd utility moved from infiniband-diags to rdma-core
67cf66
Conflicts: infiniband-diags <= 1.6.7
67cf66
Requires: pciutils
67cf66
# 32-bit arm is missing required arch-specific memory barriers,
67cf66
ExcludeArch: %{arm}
67cf66
67cf66
# Since we recommend developers use Ninja, so should packagers, for consistency.
67cf66
%define CMAKE_FLAGS %{nil}
baba1b
%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8
67cf66
# Ninja was introduced in FC23
67cf66
BuildRequires: ninja-build
67cf66
%define CMAKE_FLAGS -GNinja
67cf66
%define make_jobs ninja-build -v %{?_smp_mflags}
67cf66
%define cmake_install DESTDIR=%{buildroot} ninja-build install
67cf66
%else
67cf66
# Fallback to make otherwise
67cf66
BuildRequires: make
53b81e
%define make_jobs make VERBOSE=1 %{?_smp_mflags}
67cf66
%define cmake_install DESTDIR=%{buildroot} make install
67cf66
%endif
67cf66
baba1b
BuildRequires: pandoc
baba1b
67cf66
%description
67cf66
RDMA core userspace infrastructure and documentation, including kernel
67cf66
driver-specific modprobe override configs, IPoIB network scripts,
67cf66
dracut rules, and the rdma-ndd utility.
67cf66
67cf66
%package devel
67cf66
Summary: RDMA core development libraries and headers
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
Requires: libibverbs = %{version}-%{release}
67cf66
Provides: libibverbs-devel = %{version}-%{release}
67cf66
Obsoletes: libibverbs-devel < %{version}-%{release}
67cf66
Requires: libibumad = %{version}-%{release}
67cf66
Provides: libibumad-devel = %{version}-%{release}
67cf66
Obsoletes: libibumad-devel < %{version}-%{release}
67cf66
Requires: librdmacm = %{version}-%{release}
67cf66
Provides: librdmacm-devel = %{version}-%{release}
67cf66
Obsoletes: librdmacm-devel < %{version}-%{release}
67cf66
Requires: ibacm = %{version}-%{release}
67cf66
Provides: ibacm-devel = %{version}-%{release}
67cf66
Obsoletes: ibacm-devel < %{version}-%{release}
baba1b
Requires: infiniband-diags = %{version}-%{release}
baba1b
Provides: infiniband-diags-devel = %{version}-%{release}
baba1b
Obsoletes: infiniband-diags-devel < %{version}-%{release}
baba1b
Provides: libibmad-devel = %{version}-%{release}
baba1b
Obsoletes: libibmad-devel < %{version}-%{release}
67cf66
67cf66
%description devel
67cf66
RDMA core development libraries and headers.
67cf66
baba1b
%package -n infiniband-diags
baba1b
Summary: InfiniBand Diagnostic Tools
baba1b
Requires: libibumad = %{version}-%{release}
baba1b
Provides: perl(IBswcountlimits)
baba1b
Provides: libibmad = %{version}-%{release}
baba1b
Obsoletes: libibmad < %{version}-%{release}
baba1b
Obsoletes: openib-diags < 1.3
baba1b
baba1b
%description -n infiniband-diags
baba1b
This package provides IB diagnostic programs and scripts needed to diagnose an
baba1b
IB subnet.  infiniband-diags now also provides libibmad.  libibmad provides
baba1b
low layer IB functions for use by the IB diagnostic and management
baba1b
programs. These include MAD, SA, SMP, and other basic IB functions.
baba1b
67cf66
%package -n libibverbs
67cf66
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
Provides: libcxgb4 = %{version}-%{release}
67cf66
Obsoletes: libcxgb4 < %{version}-%{release}
67cf66
Provides: libhfi1 = %{version}-%{release}
67cf66
Obsoletes: libhfi1 < %{version}-%{release}
67cf66
Provides: libi40iw = %{version}-%{release}
67cf66
Obsoletes: libi40iw < %{version}-%{release}
67cf66
Provides: libmlx4 = %{version}-%{release}
67cf66
Obsoletes: libmlx4 < %{version}-%{release}
67cf66
%ifnarch s390
67cf66
Provides: libmlx5 = %{version}-%{release}
67cf66
Obsoletes: libmlx5 < %{version}-%{release}
67cf66
%endif
67cf66
Provides: librxe = %{version}-%{release}
67cf66
Obsoletes: librxe < %{version}-%{release}
67cf66
67cf66
%description -n libibverbs
67cf66
libibverbs is a library that allows userspace processes to use RDMA
67cf66
"verbs" as described in the InfiniBand Architecture Specification and
67cf66
the RDMA Protocol Verbs Specification.  This includes direct hardware
67cf66
access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
67cf66
fast path operations.
67cf66
67cf66
Device-specific plug-in ibverbs userspace drivers are included:
67cf66
67cf66
- libbxnt_re: Broadcom NetXtreme-E RoCE HCA
67cf66
- libcxgb4: Chelsio T4 iWARP HCA
67cf66
- libhfi1: Intel Omni-Path HFI
67cf66
- libhns: HiSilicon Hip06 SoC
67cf66
- libi40iw: Intel Ethernet Connection X722 RDMA
67cf66
- libmlx4: Mellanox ConnectX-3 InfiniBand HCA
67cf66
- libmlx5: Mellanox Connect-IB/X-4+ InfiniBand HCA
67cf66
- libqedr: QLogic QL4xxx RoCE HCA
67cf66
- librxe: A software implementation of the RoCE protocol
67cf66
- libvmw_pvrdma: VMware paravirtual RDMA device
67cf66
67cf66
%package -n libibverbs-utils
67cf66
Summary: Examples for the libibverbs library
67cf66
Requires: libibverbs%{?_isa} = %{version}-%{release}
53b81e
# rxe_cfg uses commands provided by these packages
53b81e
Requires: iproute
53b81e
Requires: ethtool
67cf66
67cf66
%description -n libibverbs-utils
67cf66
Useful libibverbs example programs such as ibv_devinfo, which
67cf66
displays information about RDMA devices.
67cf66
67cf66
%package -n ibacm
67cf66
Summary: InfiniBand Communication Manager Assistant
67cf66
%{?systemd_requires}
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
Requires: libibumad%{?_isa} = %{version}-%{release}
67cf66
Requires: libibverbs%{?_isa} = %{version}-%{release}
67cf66
67cf66
%description -n ibacm
67cf66
The ibacm daemon helps reduce the load of managing path record lookups on
67cf66
large InfiniBand fabrics by providing a user space implementation of what
67cf66
is functionally similar to an ARP cache.  The use of ibacm, when properly
67cf66
configured, can reduce the SA packet load of a large IB cluster from O(n^2)
67cf66
to O(n).  The ibacm daemon is started and normally runs in the background,
67cf66
user applications need not know about this daemon as long as their app
67cf66
uses librdmacm to handle connection bring up/tear down.  The librdmacm
67cf66
library knows how to talk directly to the ibacm daemon to retrieve data.
67cf66
67cf66
%package -n iwpmd
67cf66
Summary: iWarp Port Mapper userspace daemon
67cf66
%{?systemd_requires}
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
67cf66
%description -n iwpmd
67cf66
iwpmd provides a userspace service for iWarp drivers to claim
67cf66
tcp ports through the standard socket interface.
67cf66
67cf66
%package -n libibumad
67cf66
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
67cf66
%description -n libibumad
67cf66
libibumad provides the userspace management datagram (umad) library
67cf66
functions, which sit on top of the umad modules in the kernel. These
67cf66
are used by the IB diagnostic and management tools, including OpenSM.
67cf66
67cf66
%package -n librdmacm
67cf66
Summary: Userspace RDMA Connection Manager
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
Requires: libibverbs%{?_isa} = %{version}-%{release}
67cf66
67cf66
%description -n librdmacm
53b81e
librdmacm provides a userspace RDMA Communication Management API.
67cf66
67cf66
%package -n librdmacm-utils
67cf66
Summary: Examples for the librdmacm library
67cf66
Requires: librdmacm%{?_isa} = %{version}-%{release}
67cf66
Requires: libibverbs%{?_isa} = %{version}-%{release}
67cf66
67cf66
%description -n librdmacm-utils
67cf66
Example test programs for the librdmacm library.
67cf66
67cf66
%package -n srp_daemon
67cf66
Summary: Tools for using the InfiniBand SRP protocol devices
67cf66
Obsoletes: srptools <= 1.0.3
67cf66
Provides: srptools = %{version}-%{release}
67cf66
Obsoletes: openib-srptools <= 0.0.6
67cf66
%{?systemd_requires}
67cf66
Requires: %{name}%{?_isa} = %{version}-%{release}
67cf66
Requires: libibumad%{?_isa} = %{version}-%{release}
67cf66
Requires: libibverbs%{?_isa} = %{version}-%{release}
67cf66
67cf66
%description -n srp_daemon
67cf66
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
67cf66
discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
67cf66
67cf66
%prep
53b81e
%setup -q
67cf66
%patch1 -p1
67cf66
%patch2 -p1
baba1b
%patch3 -p1
baba1b
%patch101 -p1
baba1b
%patch102 -p1
baba1b
%patch104 -p1
baba1b
%patch105 -p1
baba1b
%patch106 -p1
baba1b
%patch108 -p1
67cf66
67cf66
%build
67cf66
67cf66
# New RPM defines _rundir, usually as /run
67cf66
%if 0%{?_rundir:1}
67cf66
%else
67cf66
%define _rundir /var/run
67cf66
%endif
67cf66
67cf66
%{!?EXTRA_CMAKE_FLAGS: %define EXTRA_CMAKE_FLAGS %{nil}}
67cf66
67cf66
# Pass all of the rpm paths directly to GNUInstallDirs and our other defines.
67cf66
%cmake %{CMAKE_FLAGS} \
67cf66
         -DCMAKE_BUILD_TYPE=Release \
67cf66
         -DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
67cf66
         -DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
67cf66
         -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
67cf66
         -DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
67cf66
         -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
67cf66
         -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
67cf66
         -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
67cf66
         -DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
67cf66
         -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
67cf66
         -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
67cf66
         -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
67cf66
         -DCMAKE_INSTALL_INITDDIR:PATH=%{_initrddir} \
67cf66
         -DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
53b81e
         -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
67cf66
         -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
baba1b
         -DCMAKE_INSTALL_PERLDIR:PATH=%{perl_vendorlib} \
baba1b
         -DWITH_IBDIAGS_COMPAT:BOOL=False \
67cf66
%if %{with_static}
67cf66
         -DENABLE_STATIC=1 \
67cf66
%endif
67cf66
         %{EXTRA_CMAKE_FLAGS}
67cf66
%make_jobs
67cf66
67cf66
%install
67cf66
%cmake_install
67cf66
67cf66
mkdir -p %{buildroot}/%{_sysconfdir}/rdma
67cf66
67cf66
# Red Hat specific glue
67cf66
%global dracutlibdir %{_prefix}/lib/dracut
67cf66
%global sysmodprobedir %{_prefix}/lib/modprobe.d
67cf66
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
67cf66
mkdir -p %{buildroot}%{_libexecdir}
67cf66
mkdir -p %{buildroot}%{_udevrulesdir}
67cf66
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
67cf66
mkdir -p %{buildroot}%{sysmodprobedir}
67cf66
install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf
67cf66
install -D -m0644 redhat/rdma.sriov-vfs %{buildroot}/%{_sysconfdir}/rdma/sriov-vfs
67cf66
install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
67cf66
install -D -m0644 redhat/rdma.service %{buildroot}%{_unitdir}/rdma.service
67cf66
install -D -m0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
67cf66
install -D -m0644 redhat/rdma.udev-rules %{buildroot}%{_udevrulesdir}/98-rdma.rules
67cf66
install -D -m0644 redhat/rdma.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
67cf66
install -D -m0755 redhat/rdma.kernel-init %{buildroot}%{_libexecdir}/rdma-init-kernel
67cf66
install -D -m0755 redhat/rdma.sriov-init %{buildroot}%{_libexecdir}/rdma-set-sriov-vf
67cf66
install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh
67cf66
67cf66
# ibdev2netdev helper script
67cf66
install -D -m0755 %{SOURCE1} %{buildroot}%{_bindir}/
67cf66
53b81e
# rxe_cfg
53b81e
install -D -m0755 %{SOURCE2} %{buildroot}%{_bindir}/
53b81e
install -D -m0644 %{SOURCE3} %{buildroot}%{_mandir}/man8/
53b81e
67cf66
# ibacm
67cf66
bin/ib_acme -D . -O
67cf66
# multi-lib conflict resolution hacks (bug 1429362)
67cf66
sed -i -e 's|%{_libdir}|/usr/lib|' %{buildroot}%{_mandir}/man7/ibacm_prov.7
67cf66
sed -i -e 's|%{_libdir}|/usr/lib|' ibacm_opts.cfg
67cf66
install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
67cf66
67cf66
# Delete the package's init.d scripts
67cf66
rm -rf %{buildroot}/%{_initrddir}/
67cf66
67cf66
# Remove ibverbs provider libs we don't support
67cf66
rm -f %{buildroot}/%{_libdir}/libibverbs/libcxgb3-rdmav*.so
67cf66
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/cxgb3.driver
67cf66
rm -f %{buildroot}/%{_libdir}/libibverbs/libocrdma-rdmav*.so
67cf66
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/ocrdma.driver
67cf66
rm -f %{buildroot}/%{_libdir}/libibverbs/libnes-rdmav*.so
67cf66
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/nes.driver
67cf66
rm -f %{buildroot}/%{_libdir}/libibverbs/libmthca-rdmav*.so
67cf66
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/mthca.driver
67cf66
rm -f %{buildroot}/%{_libdir}/libibverbs/libipathverbs-rdmav*.so
67cf66
rm -f %{buildroot}/%{_sysconfdir}/libibverbs.d/ipathverbs.driver
baba1b
find %{buildroot}  -name '*efa*' -exec rm -fv {} \;
67cf66
53b81e
%post -n rdma-core
53b81e
# we ship udev rules, so trigger an update.
53b81e
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
53b81e
/sbin/udevadm trigger --subsystem-match=net --action=change || true
53b81e
/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
53b81e
baba1b
%post -n infiniband-diags -p /sbin/ldconfig
baba1b
%postun -n infiniband-diags
baba1b
%ldconfig_postun
baba1b
67cf66
%post -n libibverbs -p /sbin/ldconfig
baba1b
%postun -n libibverbs
baba1b
%ldconfig_postun
67cf66
67cf66
%post -n libibumad -p /sbin/ldconfig
baba1b
%postun -n libibumad
baba1b
%ldconfig_postun
67cf66
67cf66
%post -n librdmacm -p /sbin/ldconfig
baba1b
%postun -n librdmacm
baba1b
%ldconfig_postun
67cf66
67cf66
%post -n ibacm
67cf66
%systemd_post ibacm.service
67cf66
%preun -n ibacm
67cf66
%systemd_preun ibacm.service
67cf66
%postun -n ibacm
67cf66
%systemd_postun_with_restart ibacm.service
67cf66
67cf66
%post -n srp_daemon
67cf66
%systemd_post srp_daemon.service
67cf66
%preun -n srp_daemon
67cf66
%systemd_preun srp_daemon.service
67cf66
%postun -n srp_daemon
67cf66
%systemd_postun_with_restart srp_daemon.service
67cf66
67cf66
%post -n iwpmd
67cf66
%systemd_post iwpmd.service
67cf66
%preun -n iwpmd
67cf66
%systemd_preun iwpmd.service
67cf66
%postun -n iwpmd
67cf66
%systemd_postun_with_restart iwpmd.service
67cf66
67cf66
%files
67cf66
%dir %{_sysconfdir}/rdma
53b81e
%dir %{_docdir}/%{name}
53b81e
%doc %{_docdir}/%{name}/README.md
53b81e
%doc %{_docdir}/%{name}/udev.md
67cf66
%config(noreplace) %{_sysconfdir}/rdma/*
67cf66
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
67cf66
%ifnarch s390
67cf66
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
67cf66
%endif
67cf66
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
67cf66
%{_unitdir}/rdma-hw.target
67cf66
%{_unitdir}/rdma-load-modules@.service
67cf66
%{_unitdir}/rdma.service
67cf66
%dir %{dracutlibdir}/modules.d/05rdma
67cf66
%{dracutlibdir}/modules.d/05rdma/module-setup.sh
baba1b
%{_udevrulesdir}/../rdma_rename
67cf66
%{_udevrulesdir}/*
67cf66
%{sysmodprobedir}/libmlx4.conf
67cf66
%{_libexecdir}/rdma-init-kernel
67cf66
%{_libexecdir}/rdma-set-sriov-vf
67cf66
%{_libexecdir}/mlx4-setup.sh
67cf66
%{_libexecdir}/truescale-serdes.cmds
67cf66
%{_sbindir}/rdma-ndd
67cf66
%{_bindir}/ibdev2netdev
67cf66
%{_unitdir}/rdma-ndd.service
67cf66
%{_mandir}/man8/rdma-ndd.*
67cf66
%license COPYING.*
67cf66
67cf66
%files devel
53b81e
%doc %{_docdir}/%{name}/MAINTAINERS
67cf66
%dir %{_includedir}/infiniband
67cf66
%dir %{_includedir}/rdma
67cf66
%{_includedir}/infiniband/*
67cf66
%{_includedir}/rdma/*
67cf66
%if %{with_static}
67cf66
%{_libdir}/lib*.a
67cf66
%endif
67cf66
%{_libdir}/lib*.so
67cf66
%{_libdir}/pkgconfig/*.pc
67cf66
%{_mandir}/man3/ibv_*
67cf66
%{_mandir}/man3/rdma*
67cf66
%{_mandir}/man3/umad*
67cf66
%{_mandir}/man3/*_to_ibv_rate.*
67cf66
%ifnarch s390
67cf66
%{_mandir}/man3/mlx4dv*
67cf66
%{_mandir}/man3/mlx5dv*
67cf66
%{_mandir}/man7/mlx5dv*
67cf66
%endif
67cf66
%{_mandir}/man7/rdma_cm.*
baba1b
%{_mandir}/man3/ibnd_*
baba1b
baba1b
%files -n infiniband-diags
baba1b
%{_sbindir}/ibaddr
baba1b
%{_sbindir}/ibnetdiscover
baba1b
%{_sbindir}/ibping
baba1b
%{_sbindir}/ibportstate
baba1b
%{_sbindir}/ibroute
baba1b
%{_sbindir}/ibstat
baba1b
%{_sbindir}/ibsysstat
baba1b
%{_sbindir}/ibtracert
baba1b
%{_sbindir}/perfquery
baba1b
%{_sbindir}/sminfo
baba1b
%{_sbindir}/smpdump
baba1b
%{_sbindir}/smpquery
baba1b
%{_sbindir}/saquery
baba1b
%{_sbindir}/vendstat
baba1b
%{_sbindir}/iblinkinfo
baba1b
%{_sbindir}/ibqueryerrors
baba1b
%{_sbindir}/ibcacheedit
baba1b
%{_sbindir}/ibccquery
baba1b
%{_sbindir}/ibccconfig
baba1b
%{_sbindir}/dump_fts
baba1b
%{_sbindir}/ibhosts
baba1b
%{_sbindir}/ibswitches
baba1b
%{_sbindir}/ibnodes
baba1b
%{_sbindir}/ibrouters
baba1b
%{_sbindir}/ibfindnodesusing.pl
baba1b
%{_sbindir}/ibidsverify.pl
baba1b
%{_sbindir}/check_lft_balance.pl
baba1b
%{_sbindir}/dump_lfts.sh
baba1b
%{_sbindir}/dump_mfts.sh
baba1b
%{_sbindir}/ibstatus
baba1b
%{_libdir}/libibmad*.so.*
baba1b
%{_libdir}/libibnetdisc*.so.*
baba1b
%{_mandir}/man8/infiniband-diags*
baba1b
%{_mandir}/man8/check_lft_balance*
baba1b
%{_mandir}/man8/dump*
baba1b
%{_mandir}/man8/ib*
baba1b
%{_mandir}/man8/perfquery*
baba1b
%{_mandir}/man8/saquery*
baba1b
%{_mandir}/man8/sminfo*
baba1b
%{_mandir}/man8/smp*
baba1b
%{_mandir}/man8/vendstat*
baba1b
%{perl_vendorlib}/IBswcountlimits.pm
baba1b
%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds
baba1b
%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf
67cf66
67cf66
%files -n libibverbs
67cf66
%dir %{_sysconfdir}/libibverbs.d
67cf66
%dir %{_libdir}/libibverbs
67cf66
%{_libdir}/libibverbs*.so.*
67cf66
%{_libdir}/libibverbs/*.so
67cf66
%ifnarch s390
67cf66
%{_libdir}/libmlx4.so.*
67cf66
%{_libdir}/libmlx5.so.*
67cf66
%endif
67cf66
%config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
53b81e
%doc %{_docdir}/%{name}/libibverbs.md
53b81e
%doc %{_docdir}/%{name}/rxe.md
53b81e
%doc %{_docdir}/%{name}/tag_matching.md
67cf66
%{_mandir}/man7/rxe*
67cf66
%ifnarch s390
67cf66
%{_mandir}/man7/mlx4dv*
67cf66
%{_mandir}/man7/mlx5dv*
67cf66
%endif
67cf66
67cf66
%files -n libibverbs-utils
67cf66
%{_bindir}/ibv_*
67cf66
%{_mandir}/man1/ibv_*
53b81e
%{_bindir}/rxe_cfg
53b81e
%{_mandir}/man8/rxe*
67cf66
67cf66
%files -n ibacm
67cf66
%config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
67cf66
%{_bindir}/ib_acme
67cf66
%{_sbindir}/ibacm
67cf66
%{_mandir}/man1/ib_acme.*
67cf66
%{_mandir}/man7/ibacm.*
67cf66
%{_mandir}/man7/ibacm_prov.*
53b81e
%{_mandir}/man8/ibacm.*
67cf66
%{_unitdir}/ibacm.service
67cf66
%{_unitdir}/ibacm.socket
67cf66
%dir %{_libdir}/ibacm
67cf66
%{_libdir}/ibacm/*
53b81e
%doc %{_docdir}/%{name}/ibacm.md
67cf66
67cf66
%files -n iwpmd
67cf66
%{_sbindir}/iwpmd
67cf66
%{_unitdir}/iwpmd.service
67cf66
%config(noreplace) %{_sysconfdir}/iwpmd.conf
67cf66
%{_mandir}/man8/iwpmd.*
67cf66
%{_mandir}/man5/iwpmd.*
67cf66
67cf66
%files -n libibumad
67cf66
%{_libdir}/libibumad*.so.*
67cf66
67cf66
%files -n librdmacm
67cf66
%{_libdir}/librdmacm*.so.*
67cf66
%dir %{_libdir}/rsocket
67cf66
%{_libdir}/rsocket/librspreload.so*
53b81e
%doc %{_docdir}/%{name}/librdmacm.md
67cf66
%{_mandir}/man7/rsocket.*
67cf66
67cf66
%files -n librdmacm-utils
67cf66
%{_bindir}/cmtime
67cf66
%{_bindir}/mckey
67cf66
%{_bindir}/rcopy
67cf66
%{_bindir}/rdma_client
67cf66
%{_bindir}/rdma_server
67cf66
%{_bindir}/rdma_xclient
67cf66
%{_bindir}/rdma_xserver
67cf66
%{_bindir}/riostream
67cf66
%{_bindir}/rping
67cf66
%{_bindir}/rstream
67cf66
%{_bindir}/ucmatose
67cf66
%{_bindir}/udaddy
67cf66
%{_bindir}/udpong
67cf66
%{_mandir}/man1/cmtime.*
67cf66
%{_mandir}/man1/mckey.*
67cf66
%{_mandir}/man1/rcopy.*
67cf66
%{_mandir}/man1/rdma_client.*
67cf66
%{_mandir}/man1/rdma_server.*
67cf66
%{_mandir}/man1/rdma_xclient.*
67cf66
%{_mandir}/man1/rdma_xserver.*
67cf66
%{_mandir}/man1/riostream.*
67cf66
%{_mandir}/man1/rping.*
67cf66
%{_mandir}/man1/rstream.*
67cf66
%{_mandir}/man1/ucmatose.*
67cf66
%{_mandir}/man1/udaddy.*
67cf66
%{_mandir}/man1/udpong.*
67cf66
67cf66
%files -n srp_daemon
67cf66
%config(noreplace) %{_sysconfdir}/srp_daemon.conf
67cf66
%{_libexecdir}/srp_daemon/start_on_all_ports
67cf66
%{_unitdir}/srp_daemon.service
67cf66
%{_unitdir}/srp_daemon_port@.service
67cf66
%{_sbindir}/ibsrpdm
67cf66
%{_sbindir}/srp_daemon
67cf66
%{_sbindir}/srp_daemon.sh
67cf66
%{_sbindir}/run_srp_daemon
67cf66
%{_mandir}/man5/srp_daemon.service.5*
67cf66
%{_mandir}/man5/srp_daemon_port@.service.5*
53b81e
%{_mandir}/man8/ibsrpdm.8*
53b81e
%{_mandir}/man8/srp_daemon.8*
53b81e
%doc %{_docdir}/%{name}/ibsrpdm.md
67cf66
67cf66
%changelog
53b81e
* Tue Jun 09 2020 Honggang Li <honli@redhat.com> - 29.0-3
53b81e
- BuildRequires perl-generators
53b81e
- Backport upstream stable-v29 commits
53b81e
- Resolves: bz1845420
53b81e
53b81e
* Mon May 18 2020 Honggang Li <honli@redhat.com> - 29.0-2
53b81e
- Suppress ibdev2netdev warning messgae
53b81e
- Unversioned documentation directory
53b81e
- Resolves: bz1794904, bz1824853
53b81e
53b81e
* Tue Apr 14 2020 Honggang Li <honli@redhat.com> - 29.0-1
53b81e
- Update to upstream v29 release for features and fixes
53b81e
- Resolves: bz1790624
53b81e
53b81e
* Fri Feb 07 2020 Honggang Li <honli@redhat.com> - 26.0-8
53b81e
- Fix an ibacm segfault issue for dual port HCA support IB and Ethernet
53b81e
- Resolves: bz1793736
53b81e
baba1b
* Tue Dec 17 2019 Honggang Li <honli@redhat.com> - 26.0-7
baba1b
- Build with Ninja.
baba1b
- Resolves: bz1783254
baba1b
baba1b
* Fri Dec 13 2019 Honggang Li <honli@redhat.com> - 26.0-6
baba1b
- Remove dangling symlink
baba1b
- Resolves: bz1782828
baba1b
baba1b
* Wed Dec 11 2019 Honggang Li <honli@redhat.com> - 26.0-5
baba1b
- Remove EFA driver
baba1b
- Fix rpm dependency issue
baba1b
- Resolves: bz1781454, bz1781457
baba1b
baba1b
* Mon Dec 09 2019 Honggang Li <honli@redhat.com> - 26.0-4
baba1b
- libbnxt_re support for some new device ids and generation id
baba1b
- Resolves: bz1779948
baba1b
baba1b
* Tue Nov 19 2019 Jarod Wilson <jarod@redhat.com> - 26.0-3
baba1b
- Make rdma-core-devel Obsoletes infiniband-diags due to man3/ibnd_*
baba1b
- Related: rhbz#1722257
baba1b
baba1b
* Thu Nov 14 2019 Jarod Wilson <jarod@redhat.com> - 26.0-2
baba1b
- Add Obsoletes/Provides pair for infiniband-diags-devel
baba1b
- Pull in upstream stable-v26 branch patches
baba1b
- Fix %%postun scriptlet failures by removing superfluous -p options
baba1b
- Add new BuildRequires: on pandoc
baba1b
- Related: rhbz#1722257
baba1b
baba1b
* Thu Nov 14 2019 Jarod Wilson <jarod@redhat.com> - 26.0-1
baba1b
- Update to upstream v26 release for features and fixes
baba1b
- Resolves: rhbz#1722257
baba1b
baba1b
* Tue Jul 23 2019 Jarod Wilson <jarod@redhat.com> - 24.0-1
baba1b
- Update to upstream v24 release for features and fixes
baba1b
baba1b
* Mon Jun 24 2019 Jarod Wilson <jarod@redhat.com> - 22.3-1
baba1b
- Update to upstream v22.3 stable release for fixes
baba1b
- Enable support for Broadcom 57500 hardware
baba1b
- Enable support for Mellanox ConnectX-6 DX hardware
baba1b
- Resolves: rhbz#1678276
baba1b
- Resolves: rhbz#1687435
baba1b
67cf66
* Thu Jan 10 2019 Jarod Wilson <jarod@redhat.com> - 22-2
67cf66
- Fix up covscan shellcheck warnings in ibdev2netdev
67cf66
- Related: rhbz#1643904
67cf66
67cf66
* Thu Jan 10 2019 Jarod Wilson <jarod@redhat.com> - 22-1
67cf66
- Update to upstream v22 release for features and fixes
67cf66
- Include legacy ibdev2netdev helper script
67cf66
- Resolves: rhbz#1643904
67cf66
67cf66
* Tue Nov 27 2018 Jarod Wilson <jarod@redhat.com> - 19.1-1
67cf66
- Update to v19.1 stable branch release
67cf66
- Fix SRQ support in libi40iw
67cf66
- Backport libqedr support for SRQ
67cf66
- Resolves: rhbz#1639692
67cf66
- Switch rxe_cfg from ifconfig to iproute2
67cf66
- Resolves: rhbz#1640637
67cf66
67cf66
* Thu Aug 30 2018 Jarod Wilson <jarod@redhat.com> - 19-3
67cf66
- Drop R: initscripts, since we've removed initscripts
67cf66
- Resolves: rhbz#1610284
67cf66
67cf66
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 19-2
67cf66
- Honor %%{valgrind_arches}
67cf66
67cf66
* Thu Jul 19 2018 Jarod Wilson <jarod@redhat.com> 19-1
67cf66
- Rebase to upstream rdma-core v19 release
67cf66
67cf66
* Mon Jul 02 2018 Jarod Wilson <jarod@redhat.com> 18.1-3
67cf66
- Adjust python deps for python3-only world
67cf66
67cf66
* Thu Jun 21 2018 Jarod Wilson <jarod@redhat.com> 18.1-2
67cf66
- Disable nes, mthca and ipath libibverbs providers, this
67cf66
  old hardware is no longer supported, and fix disabling
67cf66
  of cxgb3 and ocrdma
67cf66
67cf66
* Fri Jun 15 2018 Jarod Wilson <jarod@redhat.com> 18.1-1
67cf66
- Rebase to upstream rdma-core v18.1 stable release
67cf66
67cf66
* Thu May 03 2018 Jarod Wilson <jarod@redhat.com> 17.1-2
67cf66
- Match kernel ABI with kernel v4.17 for 32-on-64bit compatibility
67cf66
67cf66
* Mon Apr 16 2018 Jarod Wilson <jarod@redhat.com> 17.1-1
67cf66
- Rebase to upstream rdma-core v17.1 stable release
67cf66
- No more libibcm or ib sysv initscripts
67cf66
- Remove ibverbs provider for unsupported CXGB3 devices
67cf66
- Remove ibverbs provider for unsupported OCRDMA devices
67cf66
- Resolves: rhbz#1492324
67cf66
- Resolves: rhbz#1492924
67cf66
- Resolves: rhbz#1503621
67cf66
- Resolves: rhbz#1504528
67cf66
- Resolves: rhbz#1504581
67cf66
- Resolves: rhbz#1503723
67cf66
67cf66
* Tue Feb 27 2018 Jarod Wilson <jarod@redhat.com> 15-7
67cf66
- i40iw: revoke systemd udev rules auto-load on i40e hardware, due to
67cf66
  causing problems with suspend and resume, and fall back to load via
67cf66
  systemd rdma initscript.
67cf66
- Resolves: rhbz#1561566
67cf66
67cf66
* Mon Feb 19 2018 Jarod Wilson <jarod@redhat.com> 15-6
67cf66
- libbnxt_re: fix lat test failure in event mode
67cf66
- Resolves: rhbz#1545248
67cf66
67cf66
* Tue Feb 06 2018 Jarod Wilson <jarod@redhat.com> 15-5
67cf66
- libmlx4: report RSS caps for improved DPDK support
67cf66
- Fix double mutex unlock in iwpmd
67cf66
- Resolves: rhbz#1527350
67cf66
- Resolves: rhbz#1542362
67cf66
67cf66
* Mon Jan 15 2018 Jarod Wilson <jarod@redhat.com> 15-4
67cf66
- Add support for extended join multicast API in librdmacm
67cf66
- Add support for striding RQ on mlx5
67cf66
- Resolves: rhbz#1515487, rhbz#1516571
67cf66
67cf66
* Tue Dec 26 2017 Honggang Li <honli@redhat.com> 15-3
67cf66
- srp_daemon: Don't create async_ev_thread if only run once
67cf66
- srp_daemon: Remove unsupported systemd configurations
67cf66
- srp_daemon: Start srp_daemon service after network target
67cf66
- Resolves: bz1525193
67cf66
- Resolves: bz1528671
67cf66
67cf66
* Mon Nov 13 2017 Jarod Wilson <jarod@redhat.com> 15-2
67cf66
- Fix ibacm segfault and improper multicast handling
67cf66
- Resolves: rhbz#1502745
67cf66
- Resolves: rhbz#1502759
67cf66
67cf66
* Fri Sep 22 2017 Jarod Wilson <jarod@redhat.com> 15-1
67cf66
- Update to upstream v15 release
67cf66
- Resolves: rhbz#1494607
67cf66
67cf66
* Wed Aug 09 2017 Jarod Wilson <jarod@redhat.com> - 14-4
67cf66
- Make use of systemd_requires, own srp_daemon dir
67cf66
67cf66
* Tue Aug 01 2017 Jarod Wilson <jarod@redhat.com> - 14-3
67cf66
- Revert work-around for ppc64le library issues
67cf66
- Add Obsoletes/Provides for libusnic_verbs
67cf66
67cf66
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14-2
67cf66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
67cf66
67cf66
* Tue Jul 25 2017 Jarod Wilson <jarod@redhat.com> - 14-1
67cf66
- Update to upstream v14 release
67cf66
- Sync packaging updates from RHEL and upstream
67cf66
67cf66
* Tue May 30 2017 Jarod Wilson <jarod@redhat.com> 13-7
67cf66
- Add support for mlx5 Expand raw packet capabilities
67cf66
- Resolves: rhbz#1456561
67cf66
67cf66
* Mon May 22 2017 Jarod Wilson <jarod@redhat.com> 13-6
67cf66
- Clean up htonll/ntohll handling for opa-ff/infiniband-diags compile
67cf66
- Add necessary Provides/Obsoletes for old -static packages
67cf66
- Remove ibverbs providers that we aren't currently able to support
67cf66
- Resolves: rhbz#1453096, rhbz#1451607
67cf66
67cf66
* Wed Apr 26 2017 Honggang Li <honli@redhat.com> 13-5
67cf66
- rdma-ndd: Fix a busy loop for aarch64 platform
67cf66
- Resolves: bz1442789
67cf66
67cf66
* Thu Apr 13 2017 Honggang Li <honli@redhat.com> 13-4
67cf66
- srp_daemon: Don't rely on attribute offset in get_shared_pkeys
67cf66
- Resolves: bz1432964
67cf66
67cf66
* Mon Apr 03 2017 Jarod Wilson <jarod@redhat.com> - 13-3
67cf66
- Add necessary Provides/Obsoletes for rdma-ndd (rhbz 1437804)
67cf66
67cf66
* Mon Mar 27 2017 Jarod Wilson <jarod@redhat.com> - 13-2
67cf66
- Build what we can on s390, don't exclude it entirely (rhbz 1434029)
67cf66
67cf66
* Tue Mar 21 2017 Jarod Wilson <jarod@redhat.com> - 13-1
67cf66
- Update to rdma-core v13 release (rhbz 1404035)
67cf66
- Mellanox mlx5 Direct Verbs support (rhbz 1426430)
67cf66
- Get build working on s390x, less mlx5 (rhbz 1434029)
67cf66
67cf66
* Mon Mar 20 2017 Jarod Wilson <jarod@redhat.com> - 12-5
67cf66
- Fix up multi-lib conflicts in ibacm files (rhbz 1429362)
67cf66
67cf66
* Mon Mar 13 2017 Jarod Wilson <jarod@redhat.com> - 12-4
67cf66
- Clean up devel files list
67cf66
- Fix up a few dependencies rpmdiff complained about (rhbz 1404035)
67cf66
- Add Requires: pciutils for dracut to behave in minimalist cases (rhbz 1429046)
67cf66
- Adjust Conflicts: on infiniband-diags to match RHEL packaging (rhbz 1428785)
67cf66
67cf66
* Mon Mar 06 2017 Jarod Wilson <jarod@redhat.com> - 12-3
67cf66
- Take libi40iw out of tech-preview state (rhbz 1428930)
67cf66
- Add ibv_*_pingpong man pages (rhbz 1416541)
67cf66
67cf66
* Thu Feb 09 2017 Jarod Wilson <jarod@redhat.com> - 12-2
67cf66
- Make sure ocrdma module is classified as tech-preview (rhbz 1418224)
67cf66
67cf66
* Fri Jan 27 2017 Jarod Wilson <jarod@redhat.com> - 12-1
67cf66
- Update to upstream final v12 release
67cf66
67cf66
* Wed Jan 25 2017 Jarod Wilson <jarod@redhat.com> - 12-0.1.rc3.1
67cf66
- Initial import to Fedora package database via post-v12-rc3 git snapshot