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..77dcae7cd92d69bf6143c06fa081239e1e35155b --- /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 11:11:41.430169043 +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 e3ca8bc5069ff9c4de73a01609647bd9695c1408..ffc203d206606fd54fcf2ae2076d505ce17b1ed8 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 28.1 -Release: 3 +Release: 4 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 +Patch9003: 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-4 +- Type: bugfix +- ID: NA +- SUG: NA +- DESC: increase maximum number of cpus + * Fri Aug 21 2020 yuboyun - 28.1-3 - Type: bugfix - ID: NA