Separate some functions from the rdma-core main package to reduce the dependencies required by the main package. Signed-off-by: 孙苏皖 <sunsuwan3@huawei.com> Singed-off-by: Juan Zhou <zhoujuan51@h-partners.com>
879 lines
28 KiB
RPMSpec
879 lines
28 KiB
RPMSpec
Name: rdma-core
|
|
Version: 41.0
|
|
Release: 26
|
|
Summary: RDMA core userspace libraries and daemons
|
|
License: GPLv2 or BSD
|
|
Url: https://github.com/linux-rdma/rdma-core
|
|
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: 0001-libhns-Use-a-constant-instead-of-sizeof-operation.patch
|
|
Patch1: 0002-libhns-Fix-ext_sge-num-error-when-post-send.patch
|
|
Patch2: 0003-Update-kernel-headers.patch
|
|
Patch3: 0004-libhns-Fix-the-problem-of-sge-nums.patch
|
|
Patch4: 0005-Update-kernel-headers.patch
|
|
Patch5: 0006-libhns-Add-compatibility-handling-for-rq-inline.patch
|
|
Patch6: 0007-libhns-Refactor-rq-inline.patch
|
|
Patch7: 0008-libhns-RQ-inline-support-wc_x_poll_cq-interface.patch
|
|
Patch8: 0009-Update-kernel-headers.patch
|
|
Patch9: 0010-libhns-Support-cqe-inline.patch
|
|
Patch10: 0011-Update-kernel-headers.patch
|
|
Patch11: 0012-libhns-Support-DSCP.patch
|
|
Patch12: 0013-cma-Release-allocated-port-array.patch
|
|
Patch13: 0014-rsockets-Fix-allocation-size-There-is-memory-allocat.patch
|
|
Patch14: 0015-tests-test_mr.py-Change-the-argument-of-DmaBufMR-to-.patch
|
|
Patch15: 0016-ABI-Files.patch
|
|
Patch16: 0017-mlx5-Adjust-Crypto-BSF-size-if-signature-is-used.patch
|
|
Patch17: 0018-mlx5-DR-Fix-missing-comma-in-matcher-builder-dump-li.patch
|
|
Patch18: 0019-Install-xprtrdma-svcrdma-kmods-in-redhat-suse-dracut.patch
|
|
Patch19: 0020-providers-irdma-Explicitly-set-QP-modify-attributes-.patch
|
|
Patch20: 0021-providers-irdma-Use-s-g-array-in-post-send-only-when.patch
|
|
Patch21: 0022-providers-irdma-Report-correct-WC-errors.patch
|
|
Patch22: 0023-pyverbs-Increment-the-correct-rkey-in-test_qpex.patch
|
|
Patch23: 0024-mckey-Use-rdma_create_qp_ex-only-for-loopback-preven.patch
|
|
Patch24: 0025-Fix-spelling-mistake-of-underlying.patch
|
|
Patch25: 0026-rdma-ndd-disable-systemd-ProtectHostName-feature.patch
|
|
Patch26: 0027-libhns-Add-RoH-device-IDs.patch
|
|
Patch27: 0028-Update-kernel-headers.patch
|
|
Patch28: 0029-libhns-Add-the-parsing-of-mac-type-in-RoH-mode.patch
|
|
Patch29: 0030-libhns-Add-support-for-the-thread-domain-and-the-par.patch
|
|
Patch30: 0031-Update-kernel-headers.patch
|
|
Patch31: 0032-libhns-Introduce-DCA-for-RC-QP.patch
|
|
Patch32: 0033-libhns-Add-support-for-shrinking-DCA-memory-pool.patch
|
|
Patch33: 0034-libhns-Add-support-for-attaching-QP-s-WQE-buffer.patch
|
|
Patch34: 0035-libhns-Use-shared-memory-to-sync-DCA-status.patch
|
|
Patch35: 0036-libhns-Sync-DCA-status-by-shared-memory.patch
|
|
Patch36: 0037-libhns-Add-direct-verbs-support-to-config-DCA.patch
|
|
Patch37: 0038-Update-kernel-headers.patch
|
|
Patch38: 0039-libhns-Add-reset-stop-flow-mechanism.patch
|
|
Patch39: 0040-Update-kernel-headers.patch
|
|
Patch40: 0041-libhns-Support-congestion-control-algorithm-configur.patch
|
|
Patch41: 0042-Update-kernel-headers.patch
|
|
Patch42: 0043-libhns-Add-support-for-SVE-Direct-WQE.patch
|
|
Patch43: 0044-libhns-Fix-the-sge-num-problem-of-atomic-op.patch
|
|
Patch44: 0045-libhns-Fix-sge-tail_len-overflow.patch
|
|
Patch45: 0046-libhns-Disable-local-invalidate-operation.patch
|
|
Patch46: 0047-libhns-Fix-the-owner-bit-error-of-sq-in-new-io.patch
|
|
Patch47: 0048-libhns-Fix-incorrect-post-send-with-direct-wqe-of-wr.patch
|
|
Patch48: 0049-libhns-Add-a-judgment-to-the-congestion-control-algo.patch
|
|
Patch49: 0050-libhns-Support-user-to-choose-using-UD-sl-or-pktype-.patch
|
|
Patch50: 0051-libhns-Remove-unnecessary-QP-checks.patch
|
|
Patch51: 0052-libhns-Fix-reference-to-uninitialized-cq-pointer.patch
|
|
Patch52: 0053-libhns-Support-reporting-wc-as-software-mode.patch
|
|
Patch53: 0054-libhns-return-error-when-post-send-in-reset-state.patch
|
|
Patch54: 0055-libhns-separate-the-initialization-steps-of-lock.patch
|
|
Patch55: 0056-libhns-assign-doorbell-to-zero-when-allocate-it.patch
|
|
patch56: 0057-libhns-Fix-missing-reset-notification.patch
|
|
patch57: 0058-libhns-Support-flexible-WQE-buffer-page-size.patch
|
|
patch58: 0059-Update-kernel-headers.patch
|
|
patch59: 0060-libhns-Support-SRQ-record-doorbell.patch
|
|
patch60: 0061-libhns-Skip-resolving-MAC-for-RDMA-over-UBLink.patch
|
|
patch61: 0062-Update-kernel-headers-for-libhns-query_device.patch
|
|
patch62: 0063-libhns-Support-query-HW-ID-by-hnsdv_query_device.patch
|
|
patch63: 0064-Update-kernel-headers-for-supporting-POE-CQs.patch
|
|
patch64: 0065-libhns-Add-support-for-POE-CQs.patch
|
|
patch65: 0066-Update-kernel-headers-for-supporting-STARS-QP-in-HNS.patch
|
|
patch66: 0067-libhns-Support-STARS-mode-QP.patch
|
|
patch67: 0068-Update-kernel-headers-for-supporting-write-with-noti.patch
|
|
patch68: 0069-libhns-Support-write-with-notify.patch
|
|
patch70: 0070-libhns-Get-dmac-from-kernel-driver.patch
|
|
patch71: 0071-libhns-Corrects-several-issues-with-output-format-an.patch
|
|
patch72: 0072-libhns-Add-input-parameter-check-for-hnsdv_query_dev.patch
|
|
patch73: 0073-libhns-Fix-uninitialized-qp-attr-when-flush-cqe.patch
|
|
patch74: 0074-libhns-Fix-possible-overflow-in-cq-clean.patch
|
|
patch75: 0075-libhns-Fix-unnecessary-dca-memory-detach.patch
|
|
patch76: 0076-libhns-Bugfix-for-wrong-timing-of-modifying-ibv_qp-s.patch
|
|
patch77: 0077-libhns-Fix-parent-domain-unsupported-comp-mask.patch
|
|
patch78: 0078-libhns-Add-pthread_spin_destroy-pthread_mutex_destro.patch
|
|
patch79: 0079-libhns-Removes-a-repeated-initialization-of-a-spinlo.patch
|
|
patch80: 0080-libhns-Fix-owner-bit-when-SQ-wraps-around-in-new-IO.patch
|
|
patch81: 0081-libhns-Fix-missing-DB-when-compiler-does-not-support.patch
|
|
|
|
BuildRequires: binutils cmake >= 2.8.11 gcc libudev-devel pkgconfig pkgconfig(libnl-3.0)
|
|
BuildRequires: pkgconfig(libnl-route-3.0) valgrind-devel systemd systemd-devel
|
|
BuildRequires: python3-devel python3-Cython python3 python3-docutils perl-generators
|
|
BuildRequires: ninja-build
|
|
|
|
Requires: systemd pciutils
|
|
|
|
Provides: rdma = %{version}-%{release}
|
|
Obsoletes: rdma < %{version}-%{release}
|
|
Obsoletes: rdma-core < %{version}-%{release}
|
|
Conflicts: infiniband-diags <= 1.6.7
|
|
|
|
%{?systemd_requires}
|
|
|
|
%define CMAKE_FLAGS -GNinja
|
|
%define make_jobs ninja-build -v %{?_smp_mflags}
|
|
%define cmake_install DESTDIR=%{buildroot} ninja-build install
|
|
|
|
%description
|
|
This is the userspace components for the Linux Kernel's drivers/infiniband subsystem.
|
|
Specifically this contains the userspace libraries for the following device nodes:
|
|
|
|
- /dev/infiniband/uverbsX (libibverbs)
|
|
- /dev/infiniband/rdma_cm (librdmacm)
|
|
- /dev/infiniband/umadX (libibumad)
|
|
|
|
%package devel
|
|
Summary: RDMA core development libraries and headers
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: libibverbs-devel = %{version}-%{release}
|
|
Obsoletes: libibverbs-devel < %{version}-%{release}
|
|
Provides: libibumad-devel = %{version}-%{release}
|
|
Obsoletes: libibumad-devel < %{version}-%{release}
|
|
Provides: librdmacm-devel = %{version}-%{release}
|
|
Obsoletes: librdmacm-devel < %{version}-%{release}
|
|
Provides: ibacm-devel = %{version}-%{release}
|
|
Obsoletes: ibacm-devel < %{version}-%{release}
|
|
Provides: infiniband-diags-devel = %{version}-%{release}
|
|
Obsoletes: infiniband-diags-devel < %{version}-%{release}
|
|
Provides: libibmad-devel = %{version}-%{release}
|
|
Obsoletes: libibmad-devel < %{version}-%{release}
|
|
|
|
BuildRequires: pkgconfig(libnl-3.0) pkgconfig(libnl-route-3.0)
|
|
|
|
%description devel
|
|
RDMA core development libraries and headers.
|
|
|
|
%package -n infiniband-diags
|
|
Summary: InfiniBand Diagnostic Tools
|
|
Requires: libibumad%{?_isa} = %{version}-%{release}
|
|
Provides: perl(IBswcountlimits)
|
|
Provides: libibmad = %{version}-%{release}
|
|
Obsoletes: libibmad < %{version}-%{release}
|
|
Obsoletes: openib-diags < 1.3
|
|
|
|
%description -n infiniband-diags
|
|
This package provides IB diagnostic programs and scripts needed to diagnose an
|
|
IB subnet. infiniband-diags now also provides libibmad. libibmad provides
|
|
low layer IB functions for use by the IB diagnostic and management
|
|
programs. These include MAD, SA, SMP, and other basic IB functions.
|
|
|
|
%package -n infiniband-diags-compat
|
|
Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools
|
|
|
|
%description -n infiniband-diags-compat
|
|
Deprecated scripts and utilities which provide duplicated functionality, most
|
|
often at a reduced performance. These are maintained for the time being for
|
|
compatibility reasons.
|
|
|
|
%package -n libibverbs
|
|
Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP/RoCE) hardware
|
|
Provides: libcxgb4 = %{version}-%{release}
|
|
Obsoletes: libcxgb4 < %{version}-%{release}
|
|
Provides: libefa = %{version}-%{release}
|
|
Obsoletes: libefa < %{version}-%{release}
|
|
Provides: libhfi1 = %{version}-%{release}
|
|
Obsoletes: libhfi1 < %{version}-%{release}
|
|
Provides: libhns = %{version}-%{release}
|
|
Obsoletes: libhns < %{version}-%{release}
|
|
Provides: libipathverbs = %{version}-%{release}
|
|
Obsoletes: libipathverbs < %{version}-%{release}
|
|
Provides: libirdma = %{version}-%{release}
|
|
Obsoletes: libirdma < %{version}-%{release}
|
|
Provides: libmlx4 = %{version}-%{release}
|
|
Obsoletes: libmlx4 < %{version}-%{release}
|
|
Provides: libmlx5 = %{version}-%{release}
|
|
Obsoletes: libmlx5 < %{version}-%{release}
|
|
Provides: libmthca = %{version}-%{release}
|
|
Obsoletes: libmthca < %{version}-%{release}
|
|
Provides: libocrdma = %{version}-%{release}
|
|
Obsoletes: libocrdma < %{version}-%{release}
|
|
Provides: librxe = %{version}-%{release}
|
|
Obsoletes: librxe < %{version}-%{release}
|
|
|
|
%description -n libibverbs
|
|
libibverbs is a library that allows userspace processes to use RDMA
|
|
"verbs" as described in the InfiniBand Architecture Specification and
|
|
the RDMA Protocol Verbs Specification. This includes direct hardware
|
|
access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
|
|
fast path operations.
|
|
|
|
Device-specific plug-in ibverbs userspace drivers are included:
|
|
|
|
- libcxgb4: Chelsio T4 iWARP HCA
|
|
- libefa: Amazon Elastic Fabric Adapter
|
|
- libhfi1: Intel Omni-Path HFI
|
|
- libhns: HiSilicon Hip08/09/10 SoC
|
|
- libipathverbs: QLogic InfiniPath HCA
|
|
- libirdma: Intel Ethernet Connection RDMA
|
|
- libmlx4: Mellanox ConnectX-3 InfiniBand HCA
|
|
- libmlx5: Mellanox Connect-IB/X-4+ InfiniBand HCA
|
|
- libmthca: Mellanox InfiniBand HCA
|
|
- libocrdma: Emulex OneConnect RDMA/RoCE Device
|
|
- libqedr: QLogic QL4xxx RoCE HCA
|
|
- librxe: A software implementation of the RoCE protocol
|
|
- libsiw: A software implementation of the iWarp protocol
|
|
- libvmw_pvrdma: VMware paravirtual RDMA device
|
|
|
|
%package -n libibverbs-utils
|
|
Summary: Examples for the libibverbs library
|
|
Requires: libibverbs%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n libibverbs-utils
|
|
Useful libibverbs example programs such as ibv_devinfo, which
|
|
displays information about RDMA devices.
|
|
|
|
%package -n ibacm
|
|
Summary: InfiniBand Communication Manager Assistant
|
|
%{?systemd_requires}
|
|
|
|
%description -n ibacm
|
|
The ibacm daemon helps reduce the load of managing path record lookups on
|
|
large InfiniBand fabrics by providing a user space implementation of what
|
|
is functionally similar to an ARP cache. The use of ibacm, when properly
|
|
configured, can reduce the SA packet load of a large IB cluster from O(n^2)
|
|
to O(n). The ibacm daemon is started and normally runs in the background,
|
|
user applications need not know about this daemon as long as their app
|
|
uses librdmacm to handle connection bring up/tear down. The librdmacm
|
|
library knows how to talk directly to the ibacm daemon to retrieve data.
|
|
|
|
%package -n iwpmd
|
|
Summary: iWarp Port Mapper userspace daemon
|
|
%{?systemd_requires}
|
|
|
|
%description -n iwpmd
|
|
iwpmd provides a userspace service for iWarp drivers to claim
|
|
tcp ports through the standard socket interface.
|
|
|
|
%package -n libibumad
|
|
Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library
|
|
|
|
%description -n libibumad
|
|
libibumad provides the userspace management datagram (umad) library
|
|
functions, which sit on top of the umad modules in the kernel. These
|
|
are used by the IB diagnostic and management tools, including OpenSM.
|
|
|
|
%package -n librdmacm
|
|
Summary: Userspace RDMA Connection Manager
|
|
|
|
%description -n librdmacm
|
|
librdmacm provides a userspace RDMA Communication Management API.
|
|
|
|
%package -n librdmacm-utils
|
|
Summary: Examples for the librdmacm library
|
|
Requires: librdmacm%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n librdmacm-utils
|
|
Example test programs for the librdmacm library.
|
|
|
|
%package -n srp_daemon
|
|
Summary: Tools for using the InfiniBand SRP protocol devices
|
|
Obsoletes: srptools <= 1.0.3
|
|
Provides: srptools = %{version}-%{release}
|
|
Obsoletes: openib-srptools <= 0.0.6
|
|
%{?systemd_requires}
|
|
|
|
%description -n srp_daemon
|
|
In conjunction with the kernel ib_srp driver, srp_daemon allows you to
|
|
discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
|
|
|
|
%package -n python3-pyverbs
|
|
Summary: Python3 API over IB verbs
|
|
%{?python_provide:%python_provide python3-pyverbs}
|
|
|
|
%description -n python3-pyverbs
|
|
Pyverbs is a Cython-based Python API over libibverbs, providing an
|
|
easy, object-oriented access to IB verbs.
|
|
|
|
%package help
|
|
Summary: Documents for %{name}
|
|
Buildarch: noarch
|
|
Requires: man info
|
|
Provides: infiniband-diags-help = %{version}-%{release}
|
|
Obsoletes: infiniband-diags-help < %{version}-%{release}
|
|
|
|
%description help
|
|
Man pages and other related documents for %{name}.
|
|
|
|
%prep
|
|
%setup
|
|
%autosetup -v -p1
|
|
|
|
%build
|
|
%if 0%{?_rundir:1}
|
|
%else
|
|
%define _rundir /var/run
|
|
%endif
|
|
|
|
%{!?EXTRA_CMAKE_FLAGS: %define EXTRA_CMAKE_FLAGS %{nil}}
|
|
|
|
%cmake %{CMAKE_FLAGS} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
|
|
-DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
|
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
|
|
-DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
|
|
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
|
|
-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
|
|
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
|
|
-DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
|
|
-DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
|
|
-DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
|
|
-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=%{_unitdir} \
|
|
-DCMAKE_INSTALL_INITDDIR:PATH=%{_initrddir} \
|
|
-DCMAKE_INSTALL_RUNDIR:PATH=%{_rundir} \
|
|
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}-%{version} \
|
|
-DCMAKE_INSTALL_UDEV_RULESDIR:PATH=%{_udevrulesdir} \
|
|
-DCMAKE_INSTALL_PERLDIR:PATH=%{perl_vendorlib} \
|
|
-DENABLE_IBDIAGS_COMPAT:BOOL=True \
|
|
-DENABLE_STATIC=1 \
|
|
%{EXTRA_CMAKE_FLAGS} \
|
|
-DPYTHON_EXECUTABLE:PATH=%{__python3} \
|
|
-DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
|
|
-DNO_PYVERBS=0
|
|
%make_jobs
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}/rdma
|
|
|
|
%global dracutlibdir %{_prefix}/lib/dracut
|
|
%global sysmodprobedir %{_prefix}/lib/modprobe.d
|
|
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
|
|
mkdir -p %{buildroot}%{_libexecdir}
|
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
|
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/05rdma
|
|
mkdir -p %{buildroot}%{sysmodprobedir}
|
|
install -D -m 0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf
|
|
install -D -m 0755 redhat/rdma.modules-setup.sh %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh
|
|
install -D -m 0644 redhat/rdma.mlx4.sys.modprobe %{buildroot}%{sysmodprobedir}/libmlx4.conf
|
|
install -D -m 0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh
|
|
rm -f %{buildroot}%{_sysconfdir}/rdma/modules/rdma.conf
|
|
install -D -m0644 redhat/rdma.conf %{buildroot}%{_sysconfdir}/rdma/modules/rdma.conf
|
|
|
|
bin/ib_acme -D . -O
|
|
install -D -m 0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
|
|
|
|
rm -rf %{buildroot}/%{_initrddir}/
|
|
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
|
|
|
%ldconfig_scriptlets -n libibverbs
|
|
|
|
%ldconfig_scriptlets -n libibumad
|
|
|
|
%ldconfig_scriptlets -n librdmacm
|
|
|
|
%post
|
|
if [ -x /sbin/udevadm ];then
|
|
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
|
|
/sbin/udevadm trigger --subsystem-match=net --action=change || true
|
|
/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
|
|
fi
|
|
|
|
%post -n ibacm
|
|
%systemd_post ibacm.service
|
|
%preun -n ibacm
|
|
%systemd_preun ibacm.service
|
|
%postun -n ibacm
|
|
%systemd_postun_with_restart ibacm.service
|
|
|
|
%post -n srp_daemon
|
|
%systemd_post srp_daemon.service
|
|
%preun -n srp_daemon
|
|
%systemd_preun srp_daemon.service
|
|
%postun -n srp_daemon
|
|
%systemd_postun_with_restart srp_daemon.service
|
|
|
|
%post -n iwpmd
|
|
%systemd_post iwpmd.service
|
|
%preun -n iwpmd
|
|
%systemd_preun iwpmd.service
|
|
%postun -n iwpmd
|
|
%systemd_postun_with_restart iwpmd.service
|
|
|
|
%files
|
|
%dir %{_sysconfdir}/rdma
|
|
%config(noreplace) %{_sysconfdir}/rdma/mlx4.conf
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/infiniband.conf
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/iwarp.conf
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/opa.conf
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/rdma.conf
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/roce.conf
|
|
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
|
|
%dir %{_sysconfdir}/modprobe.d
|
|
%config(noreplace) %{_sysconfdir}/modprobe.d/mlx4.conf
|
|
%config(noreplace) %{_sysconfdir}/modprobe.d/truescale.conf
|
|
%{_unitdir}/rdma-hw.target
|
|
%{_unitdir}/rdma-load-modules@.service
|
|
%dir %{dracutlibdir}
|
|
%dir %{dracutlibdir}/modules.d
|
|
%dir %{dracutlibdir}/modules.d/05rdma
|
|
%{dracutlibdir}/modules.d/05rdma/module-setup.sh
|
|
%dir %{_udevrulesdir}
|
|
%{_udevrulesdir}/../rdma_rename
|
|
%{_udevrulesdir}/60-rdma-ndd.rules
|
|
%{_udevrulesdir}/60-rdma-persistent-naming.rules
|
|
%{_udevrulesdir}/75-rdma-description.rules
|
|
%{_udevrulesdir}/90-rdma-hw-modules.rules
|
|
%{_udevrulesdir}/90-rdma-ulp-modules.rules
|
|
%{_udevrulesdir}/90-rdma-umad.rules
|
|
%dir %{sysmodprobedir}
|
|
%{sysmodprobedir}/libmlx4.conf
|
|
%{_libexecdir}/mlx4-setup.sh
|
|
%{_libexecdir}/truescale-serdes.cmds
|
|
%{_sbindir}/rdma-ndd
|
|
%{_unitdir}/rdma-ndd.service
|
|
%{_mandir}/man7/rxe*
|
|
%{_mandir}/man8/rdma-ndd.*
|
|
%license COPYING.*
|
|
|
|
%files devel
|
|
%dir %{_includedir}/infiniband
|
|
%dir %{_includedir}/rdma
|
|
%{_includedir}/infiniband/*
|
|
%{_includedir}/rdma/*
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_mandir}/man3/efadv*
|
|
%{_mandir}/man3/ibv_*
|
|
%{_mandir}/man3/rdma*
|
|
%{_mandir}/man3/umad*
|
|
%{_mandir}/man3/*_to_ibv_rate.*
|
|
%{_mandir}/man7/rdma_cm.*
|
|
%{_mandir}/man3/mlx5dv*
|
|
%{_mandir}/man3/mlx4dv*
|
|
%{_mandir}/man7/efadv*
|
|
%{_mandir}/man7/mlx5dv*
|
|
%{_mandir}/man7/mlx4dv*
|
|
%{_mandir}/man3/ibnd_*
|
|
|
|
%files -n infiniband-diags-compat
|
|
%{_sbindir}/ibcheckerrs
|
|
%{_mandir}/man8/ibcheckerrs*
|
|
%{_sbindir}/ibchecknet
|
|
%{_mandir}/man8/ibchecknet*
|
|
%{_sbindir}/ibchecknode
|
|
%{_mandir}/man8/ibchecknode*
|
|
%{_sbindir}/ibcheckport
|
|
%{_mandir}/man8/ibcheckport.*
|
|
%{_sbindir}/ibcheckportwidth
|
|
%{_mandir}/man8/ibcheckportwidth*
|
|
%{_sbindir}/ibcheckportstate
|
|
%{_mandir}/man8/ibcheckportstate*
|
|
%{_sbindir}/ibcheckwidth
|
|
%{_mandir}/man8/ibcheckwidth*
|
|
%{_sbindir}/ibcheckstate
|
|
%{_mandir}/man8/ibcheckstate*
|
|
%{_sbindir}/ibcheckerrors
|
|
%{_mandir}/man8/ibcheckerrors*
|
|
%{_sbindir}/ibdatacounts
|
|
%{_mandir}/man8/ibdatacounts*
|
|
%{_sbindir}/ibdatacounters
|
|
%{_mandir}/man8/ibdatacounters*
|
|
%{_sbindir}/ibdiscover.pl
|
|
%{_mandir}/man8/ibdiscover*
|
|
%{_sbindir}/ibswportwatch.pl
|
|
%{_mandir}/man8/ibswportwatch*
|
|
%{_sbindir}/ibqueryerrors.pl
|
|
%{_sbindir}/iblinkinfo.pl
|
|
%{_sbindir}/ibprintca.pl
|
|
%{_mandir}/man8/ibprintca*
|
|
%{_sbindir}/ibprintswitch.pl
|
|
%{_mandir}/man8/ibprintswitch*
|
|
%{_sbindir}/ibprintrt.pl
|
|
%{_mandir}/man8/ibprintrt*
|
|
%{_sbindir}/set_nodedesc.sh
|
|
|
|
%files -n infiniband-diags
|
|
%{_sbindir}/ibaddr
|
|
%{_mandir}/man8/ibaddr*
|
|
%{_sbindir}/ibnetdiscover
|
|
%{_mandir}/man8/ibnetdiscover*
|
|
%{_sbindir}/ibping
|
|
%{_mandir}/man8/ibping*
|
|
%{_sbindir}/ibportstate
|
|
%{_mandir}/man8/ibportstate*
|
|
%{_sbindir}/ibroute
|
|
%{_mandir}/man8/ibroute.*
|
|
%{_sbindir}/ibstat
|
|
%{_mandir}/man8/ibstat.*
|
|
%{_sbindir}/ibsysstat
|
|
%{_mandir}/man8/ibsysstat*
|
|
%{_sbindir}/ibtracert
|
|
%{_mandir}/man8/ibtracert*
|
|
%{_sbindir}/perfquery
|
|
%{_mandir}/man8/perfquery*
|
|
%{_sbindir}/sminfo
|
|
%{_mandir}/man8/sminfo*
|
|
%{_sbindir}/smpdump
|
|
%{_mandir}/man8/smpdump*
|
|
%{_sbindir}/smpquery
|
|
%{_mandir}/man8/smpquery*
|
|
%{_sbindir}/saquery
|
|
%{_mandir}/man8/saquery*
|
|
%{_sbindir}/vendstat
|
|
%{_mandir}/man8/vendstat*
|
|
%{_sbindir}/iblinkinfo
|
|
%{_mandir}/man8/iblinkinfo*
|
|
%{_sbindir}/ibqueryerrors
|
|
%{_mandir}/man8/ibqueryerrors*
|
|
%{_sbindir}/ibcacheedit
|
|
%{_mandir}/man8/ibcacheedit*
|
|
%{_sbindir}/ibccquery
|
|
%{_mandir}/man8/ibccquery*
|
|
%{_sbindir}/ibccconfig
|
|
%{_mandir}/man8/ibccconfig*
|
|
%{_sbindir}/dump_fts
|
|
%{_mandir}/man8/dump_fts*
|
|
%{_sbindir}/ibhosts
|
|
%{_mandir}/man8/ibhosts*
|
|
%{_sbindir}/ibswitches
|
|
%{_mandir}/man8/ibswitches*
|
|
%{_sbindir}/ibnodes
|
|
%{_mandir}/man8/ibnodes*
|
|
%{_sbindir}/ibrouters
|
|
%{_mandir}/man8/ibrouters*
|
|
%{_sbindir}/ibfindnodesusing.pl
|
|
%{_mandir}/man8/ibfindnodesusing*
|
|
%{_sbindir}/ibidsverify.pl
|
|
%{_mandir}/man8/ibidsverify*
|
|
%{_sbindir}/check_lft_balance.pl
|
|
%{_mandir}/man8/check_lft_balance*
|
|
%{_sbindir}/dump_lfts.sh
|
|
%{_mandir}/man8/dump_lfts*
|
|
%{_sbindir}/dump_mfts.sh
|
|
%{_mandir}/man8/dump_mfts*
|
|
%{_sbindir}/ibclearerrors
|
|
%{_mandir}/man8/ibclearerrors*
|
|
%{_sbindir}/ibclearcounters
|
|
%{_mandir}/man8/ibclearcounters*
|
|
%{_sbindir}/ibstatus
|
|
%{_mandir}/man8/ibstatus*
|
|
%{_mandir}/man8/infiniband-diags*
|
|
%{_libdir}/libibmad*.so.*
|
|
%{_libdir}/libibnetdisc*.so.*
|
|
%{perl_vendorlib}/IBswcountlimits.pm
|
|
%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds
|
|
%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf
|
|
|
|
%files -n libibverbs
|
|
%dir %{_sysconfdir}/libibverbs.d
|
|
%dir %{_libdir}/libibverbs
|
|
%{_libdir}/libefa.so.*
|
|
%{_libdir}/libhns.so.*
|
|
%{_libdir}/libibverbs*.so.*
|
|
%{_libdir}/libibverbs/*.so
|
|
%{_libdir}/libmlx5.so.*
|
|
%{_libdir}/libmlx4.so.*
|
|
%config(noreplace) %{_sysconfdir}/libibverbs.d/*.driver
|
|
|
|
%files -n libibverbs-utils
|
|
%{_bindir}/ibv_*
|
|
%{_mandir}/man1/ibv_*
|
|
|
|
%files -n ibacm
|
|
%config(noreplace) %{_sysconfdir}/rdma/ibacm_opts.cfg
|
|
%{_bindir}/ib_acme
|
|
%{_sbindir}/ibacm
|
|
%{_mandir}/man1/ib_acme.*
|
|
%{_mandir}/man7/ibacm.*
|
|
%{_mandir}/man7/ibacm_prov.*
|
|
%{_mandir}/man8/ibacm.*
|
|
%{_unitdir}/ibacm.service
|
|
%{_unitdir}/ibacm.socket
|
|
%dir %{_libdir}/ibacm
|
|
%{_libdir}/ibacm/*
|
|
|
|
%files -n iwpmd
|
|
%{_sbindir}/iwpmd
|
|
%{_unitdir}/iwpmd.service
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/iwpmd.conf
|
|
%config(noreplace) %{_sysconfdir}/iwpmd.conf
|
|
%{_udevrulesdir}/90-iwpmd.rules
|
|
%{_mandir}/man8/iwpmd.*
|
|
%{_mandir}/man5/iwpmd.*
|
|
|
|
%files -n libibumad
|
|
%{_libdir}/libibumad*.so.*
|
|
|
|
%files -n librdmacm
|
|
%{_libdir}/librdmacm*.so.*
|
|
%dir %{_libdir}/rsocket
|
|
%{_libdir}/rsocket/*.so*
|
|
%{_mandir}/man7/rsocket.*
|
|
|
|
%files -n librdmacm-utils
|
|
%{_bindir}/cmtime
|
|
%{_bindir}/mckey
|
|
%{_bindir}/rcopy
|
|
%{_bindir}/rdma_client
|
|
%{_bindir}/rdma_server
|
|
%{_bindir}/rdma_xclient
|
|
%{_bindir}/rdma_xserver
|
|
%{_bindir}/riostream
|
|
%{_bindir}/rping
|
|
%{_bindir}/rstream
|
|
%{_bindir}/ucmatose
|
|
%{_bindir}/udaddy
|
|
%{_bindir}/udpong
|
|
%{_mandir}/man1/cmtime.*
|
|
%{_mandir}/man1/mckey.*
|
|
%{_mandir}/man1/rcopy.*
|
|
%{_mandir}/man1/rdma_client.*
|
|
%{_mandir}/man1/rdma_server.*
|
|
%{_mandir}/man1/rdma_xclient.*
|
|
%{_mandir}/man1/rdma_xserver.*
|
|
%{_mandir}/man1/riostream.*
|
|
%{_mandir}/man1/rping.*
|
|
%{_mandir}/man1/rstream.*
|
|
%{_mandir}/man1/ucmatose.*
|
|
%{_mandir}/man1/udaddy.*
|
|
%{_mandir}/man1/udpong.*
|
|
|
|
%files -n srp_daemon
|
|
%config(noreplace) %{_sysconfdir}/srp_daemon.conf
|
|
%config(noreplace) %{_sysconfdir}/rdma/modules/srp_daemon.conf
|
|
%{_libexecdir}/srp_daemon/start_on_all_ports
|
|
%{_unitdir}/srp_daemon.service
|
|
%{_unitdir}/srp_daemon_port@.service
|
|
%{_sbindir}/ibsrpdm
|
|
%{_sbindir}/srp_daemon
|
|
%{_sbindir}/run_srp_daemon
|
|
%{_udevrulesdir}/60-srp_daemon.rules
|
|
%{_mandir}/man5/srp_daemon.service.5*
|
|
%{_mandir}/man5/srp_daemon_port@.service.5*
|
|
%{_mandir}/man8/ibsrpdm.8*
|
|
%{_mandir}/man8/srp_daemon.8*
|
|
|
|
%files -n python3-pyverbs
|
|
%defattr(-,root,root)
|
|
%{python3_sitearch}/pyverbs
|
|
%{_docdir}/%{name}-%{version}/tests/*.py
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc %{_docdir}/%{name}-%{version}/rxe.md
|
|
%doc %{_docdir}/%{name}-%{version}/udev.md
|
|
%doc %{_docdir}/%{name}-%{version}/ibacm.md
|
|
%doc %{_docdir}/%{name}-%{version}/README.md
|
|
%doc %{_docdir}/%{name}-%{version}/ibsrpdm.md
|
|
%doc %{_docdir}/%{name}-%{version}/MAINTAINERS
|
|
%doc %{_docdir}/%{name}-%{version}/librdmacm.md
|
|
%doc %{_docdir}/%{name}-%{version}/libibverbs.md
|
|
%doc %{_docdir}/%{name}-%{version}/tag_matching.md
|
|
%{_mandir}/*
|
|
|
|
%changelog
|
|
* Tue Dec 19 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-26
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Separate some packages from rdma-core
|
|
|
|
* Tue Dec 12 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-25
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Fix congest type flags error and replace a corrupt patch
|
|
|
|
* Fri Dec 8 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-24
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Fix missing DB when compiler does not support SVE
|
|
|
|
* Thu Dec 7 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-23
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Bugfix for lock and owner bit
|
|
|
|
* Fri Dec 1 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-22
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Bugfix for wrong timing of modifying ibv_qp state to err
|
|
|
|
* Mon Nov 27 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-21
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Corrects several minor issues found in review
|
|
|
|
* Wed Nov 22 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-20
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Get dmac from kernel driver
|
|
|
|
* Tue Oct 31 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-19
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support STARS over RDMA
|
|
|
|
* Thu Oct 26 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-18
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Skip resolving MAC for RDMA over UBLink
|
|
|
|
* Wed Oct 25 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-17
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support SRQ record doorbell
|
|
|
|
* Tue Oct 24 2023 Ran Zhou <zhouran10@h-partners.com> - 41.0-16
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support flexible WQE buffer page size
|
|
|
|
* Tue Sep 26 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-15
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support reporting wc as software mode
|
|
|
|
* Tue Jul 25 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-14
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Two patchs are uploaded from rdma-core mainline
|
|
|
|
* Fri Jun 9 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-13
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support user to choose using UD sl or pktype to adapt MPI APP
|
|
|
|
* Fri Jun 2 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-12
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Backport bugfix for hns
|
|
|
|
* Thu May 11 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-11
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Fix the sge number related errors and remove local invalidate operation
|
|
|
|
* Mon Apr 17 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-10
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Add support for SVE Direct WQE for libhns
|
|
|
|
* Thu Apr 13 2023 Juan Zhou <zhoujuan51@h-partners.com> - 41.0-9
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support congestion control algorithm configuration
|
|
|
|
* Wed Dec 14 2022 Yixing Liu <liuyixing1@huawei.com> - 41.0-6
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support libhns reset stop ring db mechanism
|
|
|
|
* Wed Nov 30 2022 tangchengchang <tangchengchang@huawei.com> - 41.0-7
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Add support for hns DCA
|
|
|
|
* Mon Nov 28 2022 Yixing Liu <liuyixing1@huawei.com> - 41.0-6
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support libhns td unlock
|
|
|
|
* Mon Nov 07 2022 Guofeng Yue <yueguofeng@hisilicon.com> - 41.0-5
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support hns RoH mode
|
|
|
|
* Sun Nov 06 2022 tangchengchang <tangchengchang@huawei.com> - 41.0-4
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Backport bugfix from rdma-core 41.1
|
|
|
|
* Sat Oct 29 2022 tangchengchang <tangchengchang@huawei.com> - 41.0-3
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support rq inline and cqe inline
|
|
|
|
* Sat Oct 08 2022 luoyouming <luoyouming@huawei.com> - 41.0-2
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Support rq inline and cqe inline
|
|
|
|
* Mon Jul 25 2022 tangchengchang <tangchengchang@huawei.com> - 41.0-1
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: update to 41.0
|
|
|
|
* Mon Jul 11 2022 luozhengfeng <luozhengfeng@h-partners.com> - 35.1-3
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: bugfix and refactor for hns SRQ and SGE
|
|
|
|
* Mon Jan 10 2022 tangchengchang <tangchengchang@huawei.com> - 35.1-2
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Add support for hns DWQE
|
|
|
|
* Thu Dec 09 2021 gaihuiying <gaihuiying1@huawei.com> - 35.1-1
|
|
- Type: requirement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: update to 35.1
|
|
|
|
* Sun Sep 26 2021 seuzw <930zhaowei@163.com> - 35.0-3
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: Use -e para to make transferred meaning take effect
|
|
|
|
* Thu Sep 23 2021 zhongxuan <zhongxuan2@huawei.com> - 35.0-2
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: increase maximum number of cpus
|
|
|
|
* Fri Jul 2 2021 liyangyang <liyangyang20@huawei.com> - 35.0-1
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: update to 35.0
|
|
|
|
* Mon Apr 20 2020 majun <majun65@huawei.com> - 28.1-2
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: fix install problem
|
|
|
|
* Sat Apr 18 2020 majun <majun65@huawei.com> - 28.1-1
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: update to 28.1
|
|
|
|
* Thu Mar 19 2020 wangxiaopeng <wangxiaopeng7@huawei.com> - 20.1-7
|
|
- Type: bugfix
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: fix upgrate problem
|
|
|
|
* Fri Oct 11 2019 jiangchuangang <jiangchuangang@huawei.com> - 20.1-6
|
|
- Type: enhancement
|
|
- ID: NA
|
|
- SUG: NA
|
|
- DESC: remove pandoc from BuildRequires
|
|
|
|
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 20.1-5
|
|
- Package init
|
|
|