Rebase to latest upstream release V4.2-0.5
Resolves: bz1568309 Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
parent
f706439b03
commit
b2ba9b0f98
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ noarch/
|
||||
/perftest-2.*.tar.gz
|
||||
/perftest-2.*/
|
||||
/perftest-3.0-0.18.gb464d59.tar.gz
|
||||
/perftest-4.2-0.5.gdd28746.tar.gz
|
||||
|
36
0001-Set-default-un-support-for-contig-memory.patch
Normal file
36
0001-Set-default-un-support-for-contig-memory.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From 198473181e0365f97c5840b8fd406ff52af6335b Mon Sep 17 00:00:00 2001
|
||||
From: Zohar Ben Aharon <zoharb@mellanox.com>
|
||||
Date: Wed, 14 Mar 2018 10:33:59 +0200
|
||||
Subject: [PATCH] Set default un-support for contig memory
|
||||
|
||||
By default we will not support this since it is EXP verbs supported
|
||||
|
||||
Signed-off-by: Zohar Ben Aharon <zoharb@mellanox.com>
|
||||
---
|
||||
src/perftest_resources.c | 7 +++----
|
||||
1 file changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/perftest_resources.c b/src/perftest_resources.c
|
||||
index c983105..c0c098a 100755
|
||||
--- a/src/perftest_resources.c
|
||||
+++ b/src/perftest_resources.c
|
||||
@@ -1455,13 +1455,12 @@ int ctx_init(struct pingpong_context *ctx, struct perftest_parameters *user_para
|
||||
}
|
||||
#endif
|
||||
|
||||
+ ctx->is_contig_supported = FAILURE;
|
||||
#ifdef HAVE_VERBS_EXP
|
||||
- ctx->is_contig_supported = check_for_contig_pages_support(ctx->context);
|
||||
+ if (!user_param->use_hugepages)
|
||||
+ ctx->is_contig_supported = check_for_contig_pages_support(ctx->context);
|
||||
#endif
|
||||
|
||||
- if (user_param->use_hugepages)
|
||||
- ctx->is_contig_supported = FAILURE;
|
||||
-
|
||||
/* Allocating an event channel if requested. */
|
||||
if (user_param->use_event) {
|
||||
ctx->channel = ibv_create_comp_channel(ctx->context);
|
||||
--
|
||||
2.17.0
|
||||
|
@ -1,11 +1,11 @@
|
||||
Name: perftest
|
||||
Summary: IB Performance Tests
|
||||
Version: 3.0
|
||||
Release: 5%{?dist}
|
||||
Version: 4.2
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.18.gb464d59.tar.gz
|
||||
Url: http://www.openfabrics.org
|
||||
Source: https://github.com/linux-rdma/%{name}/releases/download/V4.2-0.5/perftest-4.2-0.5.gdd28746.tar.gz
|
||||
Patch1: 0001-Set-default-un-support-for-contig-memory.patch
|
||||
Url: https://github.com/linux-rdma/perftest
|
||||
|
||||
BuildRequires: libibverbs-devel >= 1.2.0
|
||||
BuildRequires: librdmacm-devel >= 1.0.21
|
||||
@ -21,6 +21,7 @@ RDMA networks.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
||||
|
||||
%build
|
||||
@ -38,6 +39,10 @@ done
|
||||
%_bindir/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 17 2018 Honggang Li <honli@redhat.com> - 4.2-1
|
||||
- Rebase to latest upstream release V4.2-0.5
|
||||
- Resolves: bz1568309
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user