update to 35.1
This commit is contained in:
parent
52401cd698
commit
ac3cd71307
27
backport-fixbug-increase-maximum-number-of-cpus-rdma.patch
Normal file
27
backport-fixbug-increase-maximum-number-of-cpus-rdma.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From c381cfa26ba6163b9cc51212702e64bf1d83f838 Mon Sep 17 00:00:00 2001
|
||||
From: swimlessbird <52704385+swimlessbird@users.noreply.github.com>
|
||||
Date: Fri, 17 Sep 2021 14:35:05 +0800
|
||||
Subject: [PATCH] ibdiags: Increase maximum number of CPUs
|
||||
|
||||
In modern systems, the old limit (8) is small enough, so increase
|
||||
to something larger (256).
|
||||
|
||||
Signed-off-by: Suwan Sun <swimlessbird@gmail.com>
|
||||
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
|
||||
---
|
||||
infiniband-diags/ibsysstat.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/infiniband-diags/ibsysstat.c b/infiniband-diags/ibsysstat.c
|
||||
index 6ff7ca0c4..73972d039 100644
|
||||
--- a/infiniband-diags/ibsysstat.c
|
||||
+++ b/infiniband-diags/ibsysstat.c
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include "ibdiag_common.h"
|
||||
|
||||
-#define MAX_CPUS 8
|
||||
+#define MAX_CPUS 256
|
||||
|
||||
static struct ibmad_port *srcport;
|
||||
|
||||
Binary file not shown.
BIN
rdma-core-35.1.tar.gz
Normal file
BIN
rdma-core-35.1.tar.gz
Normal file
Binary file not shown.
@ -1,17 +1,18 @@
|
||||
Name: rdma-core
|
||||
Version: 35.0
|
||||
Version: 35.1
|
||||
Release: 1
|
||||
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: backport-fixbug-increase-maximum-number-of-cpus-rdma.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: dracut kmod systemd pciutils
|
||||
Requires: systemd pciutils
|
||||
|
||||
Provides: ibacm infiniband-diags-compat infiniband-diags libibverbs libibverbs-utils iwpmd libibumad librdmacm librdmacm-utils srp_daemon
|
||||
Obsoletes: ibacm infiniband-diags-compat infiniband-diags libibverbs libibverbs-utils iwpmd libibumad librdmacm librdmacm-utils srp_daemon
|
||||
@ -167,9 +168,11 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%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
|
||||
%systemd_post ibacm.service
|
||||
%systemd_post srp_daemon.service
|
||||
%systemd_post iwpmd.service
|
||||
@ -247,6 +250,12 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 09 2021 gaihuiying <gaihuiying1@huawei.com> - 35.1-1
|
||||
- Type: requirement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: update to 35.1
|
||||
|
||||
* Fri Jul 2 2021 liyangyang <liyangyang20@huawei.com> - 35.0-1
|
||||
- Type: bugfix
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user