From a1551137161a01e6b8ffa350d3296ac94934fb2f Mon Sep 17 00:00:00 2001 From: zhongxuan Date: Thu, 23 Sep 2021 22:00:22 +0800 Subject: [PATCH] increase maximum number of cpus Signed-off-by: zhongxuan --- fixbug-increase-maximum-number-of-cpus-rdma.patch | 11 +++++++++++ rdma-core.spec | 10 +++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 fixbug-increase-maximum-number-of-cpus-rdma.patch diff --git a/fixbug-increase-maximum-number-of-cpus-rdma.patch b/fixbug-increase-maximum-number-of-cpus-rdma.patch new file mode 100644 index 0000000..83d1139 --- /dev/null +++ b/fixbug-increase-maximum-number-of-cpus-rdma.patch @@ -0,0 +1,11 @@ +--- ibsysstat.c.orig 2021-09-23 21:56:05.504194352 +0800 ++++ ibsysstat.c 2021-09-23 21:56:14.424341692 +0800 +@@ -41,7 +41,7 @@ + + #include "ibdiag_common.h" + +-#define MAX_CPUS 8 ++#define MAX_CPUS 256 + + static struct ibmad_port *srcport; + diff --git a/rdma-core.spec b/rdma-core.spec index f3eb783..68742bb 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 35.0 -Release: 1 +Release: 2 Summary: RDMA core userspace libraries and daemons License: GPLv2 or BSD Url: https://github.com/linux-rdma/rdma-core @@ -48,6 +48,8 @@ Obsoletes: openib-srptools <= 0.0.6 Conflicts: infiniband-diags <= 1.6.7 +Patch9002: fixbug-increase-maximum-number-of-cpus-rdma.patch + %{?systemd_requires} %define CMAKE_FLAGS -GNinja @@ -247,6 +249,12 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %{_mandir}/* %changelog +* Thu Sep 23 2021 zhongxuan - 35.0-2 +- Type: bugfix +- ID: NA +- SUG: NA +- DESC: increase maximum number of cpus + * Fri Jul 2 2021 liyangyang - 35.0-1 - Type: bugfix - ID: NA -- Gitee