From 9dbaf079884d989e0567fbc08d4a547d945797bd Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 30 Mar 2026 10:52:14 -0400 Subject: [PATCH] import CS perftest-25.10.0.0.128-3.el9 --- .gitignore | 2 +- .perftest.metadata | 2 +- SOURCES/Perftest-Fix-RDMA-CM-DMAH-bug.patch | 31 +++++++++++++++++++++ SPECS/perftest.spec | 21 ++++++++++++-- 4 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 SOURCES/Perftest-Fix-RDMA-CM-DMAH-bug.patch diff --git a/.gitignore b/.gitignore index 1e39774..a331dfe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/perftest-25.04.0-0.84.g97da83e.tar.gz +SOURCES/perftest-25.10.0-0.128.gd01b183.tar.gz diff --git a/.perftest.metadata b/.perftest.metadata index 4ac8fc7..ffce297 100644 --- a/.perftest.metadata +++ b/.perftest.metadata @@ -1 +1 @@ -6ed1f43f0a7bd61136b95922929a82008b96182d SOURCES/perftest-25.04.0-0.84.g97da83e.tar.gz +8733808eeda3a4ce3a769d33b3dfe8c29cf07d4a SOURCES/perftest-25.10.0-0.128.gd01b183.tar.gz diff --git a/SOURCES/Perftest-Fix-RDMA-CM-DMAH-bug.patch b/SOURCES/Perftest-Fix-RDMA-CM-DMAH-bug.patch new file mode 100644 index 0000000..67cdb74 --- /dev/null +++ b/SOURCES/Perftest-Fix-RDMA-CM-DMAH-bug.patch @@ -0,0 +1,31 @@ +From 8b12d44601594f001b54d4a820ad2f4598ae4b3d Mon Sep 17 00:00:00 2001 +From: Shmuel Shaul +Date: Sun, 4 Jan 2026 13:45:41 +0200 +Subject: [PATCH] Perftest: Fix RDMA CM DMAH bug + +When running with RDMA CM the tph related variables +are reset to 0. this lead to wrong flow of creating DMAH without +requesting it. + +Signed-off-by: Shmuel Shaul +--- + src/perftest_communication.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/perftest_communication.c b/src/perftest_communication.c +index 65b5c464cf03..5a54186e3e90 100755 +--- a/src/perftest_communication.c ++++ b/src/perftest_communication.c +@@ -1348,6 +1348,9 @@ int create_comm_struct(struct perftest_comm *comm, + comm->rdma_params->use_old_post_send = user_param->use_old_post_send; + comm->rdma_params->source_ip = user_param->source_ip; + comm->rdma_params->has_source_ip = user_param->has_source_ip; ++ comm->rdma_params->tph_mem_type = user_param->tph_mem_type; ++ comm->rdma_params->processing_hints = user_param->processing_hints; ++ comm->rdma_params->cpu_id = user_param->cpu_id; + comm->rdma_params->memory_type = MEMORY_HOST; + comm->rdma_params->memory_create = host_memory_create; + +-- +2.52.0 + diff --git a/SPECS/perftest.spec b/SPECS/perftest.spec index fcfa730..0855212 100644 --- a/SPECS/perftest.spec +++ b/SPECS/perftest.spec @@ -3,12 +3,13 @@ Summary: IB Performance Tests # Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead. # Issue "Please avoid dashes in version": # https://github.com/linux-rdma/perftest/issues/18 -%global upstream_ver 25.04.0-0.84 +%global upstream_ver 25.10.0-0.128 Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))} -Release: 1%{?dist} +Release: 3%{?dist} License: GPLv2 or BSD -Source: https://github.com/linux-rdma/perftest/releases/download/25.04.0-0.84/perftest-25.04.0-0.84.g97da83e.tar.gz +Source: https://github.com/linux-rdma/perftest/releases/download/25.10.0-0.128/perftest-25.10.0-0.128.gd01b183.tar.gz Url: https://github.com/linux-rdma/perftest +Patch01: Perftest-Fix-RDMA-CM-DMAH-bug.patch BuildRequires: make BuildRequires: gcc @@ -16,6 +17,7 @@ BuildRequires: libibverbs-devel >= 1.2.0 BuildRequires: librdmacm-devel >= 1.0.21 BuildRequires: libibumad-devel >= 1.3.10.2 BuildRequires: pciutils-devel +Requires: rdma-core Obsoletes: openib-perftest < 1.3 ExcludeArch: s390 %{arm} @@ -31,6 +33,7 @@ RDMA networks. %setup -q -n %{name}-%{tarball_ver} find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' +%patch -P 1 -p1 %build %configure @@ -47,6 +50,18 @@ done %_bindir/* %changelog +* Wed Jan 28 2026 Kamal Heib - 25.10.0.0.128-3 +- Fix RDMA CM DMAH bug +- Resolves: RHEL-134210 + +* Fri Jan 23 2026 Kamal Heib - 25.10.0.0.128-2 +- Rebuilt for RHEL-9.8 +- Resolves: RHEL-134210 + +* Wed Dec 10 2025 Kamal Heib - 25.10.0.0.128-1 +- Update to upstream release 25.10.0.0.128 +- Resolves: RHEL-134210 + * Thu Jul 03 2025 Kamal Heib - 25.04.0.0.84-1 - Update to upstream release 25.04.0.0.84 - Resolves: RHEL-99801