Fix RDMA CM DMAH bug
Resolves: RHEL-134210 Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
parent
b7ea0dc7d6
commit
a65ae49486
31
Perftest-Fix-RDMA-CM-DMAH-bug.patch
Normal file
31
Perftest-Fix-RDMA-CM-DMAH-bug.patch
Normal file
@ -0,0 +1,31 @@
|
||||
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
|
||||
|
||||
@ -5,10 +5,11 @@ Summary: IB Performance Tests
|
||||
# https://github.com/linux-rdma/perftest/issues/18
|
||||
%global upstream_ver 25.10.0-0.128
|
||||
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
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
|
||||
@ -32,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
|
||||
@ -48,6 +50,10 @@ done
|
||||
%_bindir/*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 28 2026 Kamal Heib <kheib@redhat.com> - 25.10.0.0.128-3
|
||||
- Fix RDMA CM DMAH bug
|
||||
- Resolves: RHEL-134210
|
||||
|
||||
* Fri Jan 23 2026 Kamal Heib <kheib@redhat.com> - 25.10.0.0.128-2
|
||||
- Rebuilt for RHEL-9.8
|
||||
- Resolves: RHEL-134210
|
||||
|
||||
Loading…
Reference in New Issue
Block a user