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