!12 fixbug : increase maximum number of cpus
From: @zhongxuan2 Reviewed-by: @MrRlu Signed-off-by: @MrRlu
This commit is contained in:
commit
becf4dc8b7
12
fixbug-increase-maximum-number-of-cpus-rdma.patch
Normal file
12
fixbug-increase-maximum-number-of-cpus-rdma.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -ur rdma-core-35.0.old/infiniband-diags/ibsysstat.c rdma-core-35.0/infiniband-diags/ibsysstat.c
|
||||||
|
--- rdma-core-35.0.old/infiniband-diags/ibsysstat.c 2021-05-10 15:58:48.000000000 +0800
|
||||||
|
+++ rdma-core-35.0/infiniband-diags/ibsysstat.c 2021-09-24 10:59:28.653893593 +0800
|
||||||
|
@@ -41,7 +41,7 @@
|
||||||
|
|
||||||
|
#include "ibdiag_common.h"
|
||||||
|
|
||||||
|
-#define MAX_CPUS 8
|
||||||
|
+#define MAX_CPUS 256
|
||||||
|
|
||||||
|
static struct ibmad_port *srcport;
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: rdma-core
|
Name: rdma-core
|
||||||
Version: 35.0
|
Version: 35.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: RDMA core userspace libraries and daemons
|
Summary: RDMA core userspace libraries and daemons
|
||||||
License: GPLv2 or BSD
|
License: GPLv2 or BSD
|
||||||
Url: https://github.com/linux-rdma/rdma-core
|
Url: https://github.com/linux-rdma/rdma-core
|
||||||
@ -48,6 +48,8 @@ Obsoletes: openib-srptools <= 0.0.6
|
|||||||
|
|
||||||
Conflicts: infiniband-diags <= 1.6.7
|
Conflicts: infiniband-diags <= 1.6.7
|
||||||
|
|
||||||
|
Patch9002: fixbug-increase-maximum-number-of-cpus-rdma.patch
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%define CMAKE_FLAGS -GNinja
|
%define CMAKE_FLAGS -GNinja
|
||||||
@ -247,6 +249,12 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
|||||||
%{_mandir}/*
|
%{_mandir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Fri Jul 2 2021 liyangyang <liyangyang20@huawei.com> - 35.0-1
|
||||||
- Type: bugfix
|
- Type: bugfix
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user