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 0000000000000000000000000000000000000000..83d1139c8206f3e164d7146e7ebe92845691fef8 --- /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 f3eb78310f440769086532569ce96e0d206197af..68742bb7feea34d6c43fa29a2913f6a863773753 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