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..fea7e98b295488ac41ea60aa6f05264aca52b3d1 --- /dev/null +++ b/fixbug-increase-maximum-number-of-cpus-rdma.patch @@ -0,0 +1,12 @@ +diff -ur a/infiniband-diags/ibsysstat.c b/infiniband-diags/ibsysstat.c +--- a/infiniband-diags/ibsysstat.c 2020-04-14 16:28:27.000000000 +0800 ++++ b/infiniband-diags/ibsysstat.c 2021-09-24 14:31:17.275111969 +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 b081d56fa4dd6c410fb49c94b6ad16881ed693a4..73ea58e4ea1f9440e34cfeb03e7fa046750ccf29 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 28.1 -Release: 4 +Release: 5 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 +Patch9006: fixbug-increase-maximum-number-of-cpus-rdma.patch + %{?systemd_requires} %define CMAKE_FLAGS -GNinja @@ -254,6 +256,12 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %{_mandir}/* %changelog +* Thu Sep 23 2021 zhongxuan - 28.1-5 +- Type: bugfix +- CVE: NA +- SUG: NA +- DESC: increase maximum number of cpus + * Mon Nov 09 2020 xihaochen - 28.1-4 - Type: requirement - CVE: NA