Update to upstream release 26.04.17

Resolves: RHEL-187019

Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
Kamal Heib 2026-06-23 09:12:34 -04:00
parent 90e1e2dc09
commit 074ef855c2
4 changed files with 6 additions and 44 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@ noarch/
/perftest-24.10.0-0.66.gf53ce12.tar.gz
/perftest-25.04.0-0.84.g97da83e.tar.gz
/perftest-25.10.0-0.128.gd01b183.tar.gz
/perftest-26.04.17.tar.gz

View File

@ -1,31 +0,0 @@
From 8b12d44601594f001b54d4a820ad2f4598ae4b3d Mon Sep 17 00:00:00 2001
From: Shmuel Shaul <sshaul@nvidia.com>
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 <sshaul@nvidia.com>
---
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

View File

@ -1,22 +1,17 @@
Name: perftest
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.10.0-0.128
Version: %{gsub %upstream_ver - .}
Version: 26.04.17
Release: %autorelease
License: GPL-2.0-only OR BSD-2-Clause
Source: https://github.com/linux-rdma/perftest/releases/download/25.10.0-0.128/perftest-25.10.0-0.128.gd01b183.tar.gz
Source: https://github.com/linux-rdma/perftest/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Url: https://github.com/linux-rdma/perftest
Patch0: Perftest-Fix-RDMA-CM-DMAH-bug.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: libibverbs-devel >= 1.2.0
BuildRequires: librdmacm-devel >= 1.0.21
BuildRequires: libibumad-devel >= 1.3.10.2
BuildRequires: pciutils-devel
BuildRequires: autoconf automake gcc-c++ libtool pciutils-devel
Requires: libibverbs
Obsoletes: openib-perftest < 1.3
ExcludeArch: s390 %{arm}
@ -28,12 +23,9 @@ connections. It does not work on normal TCP/IP networks, only on
RDMA networks.
%prep
# The directory in the tarball has only the part before the dash.
%global tarball_ver %{lua: _,_,v=string.find(rpm.expand("%{upstream_ver}"),"([^-]+)"); print(v)}
%setup -q -n %{name}-%{tarball_ver}
%setup -q
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
%autopatch -p1
%build
%configure

View File

@ -1 +1 @@
SHA512 (perftest-25.10.0-0.128.gd01b183.tar.gz) = e21f97c944d786789ad9a8531f74ce4b40b204dbecbbf297c133a6f95c20b919e248930593171d57705f4da5ceddf651a88d507356426facbfce4ca9676ae4c3
SHA512 (perftest-26.04.17.tar.gz) = 28f75a7493da8d5aecb4e34004de365533e18b96b4a585498cd8e3e8bff28125dedd08977cf7484da11ca07ee429cbb6ec57f8115e13cdc37a44d73bd2970a88