import CS perftest-23.07.0.0.27-1.el8
This commit is contained in:
parent
e75643b9be
commit
ab90a829cb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/perftest-23.04.0-0.23.g63e250f.tar.gz
|
SOURCES/perftest-23.07.0-0.27.g117a291.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
6243a2bc3a506c8e2b2f738f1b63c53f0368c854 SOURCES/perftest-23.04.0-0.23.g63e250f.tar.gz
|
c0aed68dc4110159e1eca730c2d48666dfef5b71 SOURCES/perftest-23.07.0-0.27.g117a291.tar.gz
|
||||||
|
@ -1,76 +0,0 @@
|
|||||||
From 73f7d86b37a0b0d4e731ef62047f2ad2ba2a111f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
|
|
||||||
Date: Mon, 13 Mar 2023 21:40:04 -0500
|
|
||||||
Subject: [PATCH] perftest: Add Intel device names and inline data sizes
|
|
||||||
|
|
||||||
Add two Intel devices and their corresponding
|
|
||||||
inline data sizes.
|
|
||||||
|
|
||||||
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
|
|
||||||
Signed-off-by: Kamal Heib <kheib@redhat.com>
|
|
||||||
---
|
|
||||||
src/perftest_parameters.c | 12 ++++++++++--
|
|
||||||
src/perftest_parameters.h | 3 ++-
|
|
||||||
2 files changed, 12 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/perftest_parameters.c b/src/perftest_parameters.c
|
|
||||||
index a587df3beb06..6b87621cea0e 100755
|
|
||||||
--- a/src/perftest_parameters.c
|
|
||||||
+++ b/src/perftest_parameters.c
|
|
||||||
@@ -1794,7 +1794,11 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
|
|
||||||
If you want Inline support in other vendor devices, please send patch to gilr@dev.mellanox.co.il
|
|
||||||
*/
|
|
||||||
} else if (attr.vendor_id == 0x8086) {
|
|
||||||
- dev_fname = INTEL_ALL;
|
|
||||||
+ switch (attr.vendor_part_id) {
|
|
||||||
+ case 14289 : dev_fname = INTEL_GEN1; break;
|
|
||||||
+ case 5522 : dev_fname = INTEL_GEN2; break;
|
|
||||||
+ default : dev_fname = INTEL_GEN2; break;
|
|
||||||
+ }
|
|
||||||
} else {
|
|
||||||
|
|
||||||
//coverity[uninit_use]
|
|
||||||
@@ -2080,7 +2084,7 @@ static void ctx_set_max_inline(struct ibv_context *context,struct perftest_param
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
- if (user_param->tst ==LAT) {
|
|
||||||
+ if (user_param->tst == LAT) {
|
|
||||||
switch(user_param->verb) {
|
|
||||||
case WRITE: user_param->inline_size = (user_param->connection_type == DC)? DEF_INLINE_DC : DEF_INLINE_WRITE; break;
|
|
||||||
case SEND : user_param->inline_size = (user_param->connection_type == DC)? DEF_INLINE_DC : (user_param->connection_type == UD)? DEF_INLINE_SEND_UD :
|
|
||||||
@@ -2097,6 +2101,10 @@ static void ctx_set_max_inline(struct ibv_context *context,struct perftest_param
|
|
||||||
user_param->inline_size = 96;
|
|
||||||
else if (current_dev == HNS)
|
|
||||||
user_param->inline_size = 32;
|
|
||||||
+ else if (current_dev == INTEL_GEN1)
|
|
||||||
+ user_param->inline_size = 48;
|
|
||||||
+ else if (current_dev == INTEL_GEN2)
|
|
||||||
+ user_param->inline_size = 101;
|
|
||||||
|
|
||||||
} else {
|
|
||||||
user_param->inline_size = 0;
|
|
||||||
diff --git a/src/perftest_parameters.h b/src/perftest_parameters.h
|
|
||||||
index f2080fad0b6d..2f846f78f1c2 100755
|
|
||||||
--- a/src/perftest_parameters.h
|
|
||||||
+++ b/src/perftest_parameters.h
|
|
||||||
@@ -373,7 +373,7 @@ enum ctx_device {
|
|
||||||
MLX5GENVF = 19,
|
|
||||||
BLUEFIELD = 20,
|
|
||||||
BLUEFIELD2 = 21,
|
|
||||||
- INTEL_ALL = 22,
|
|
||||||
+ INTEL_GEN1 = 22,
|
|
||||||
NETXTREME = 23,
|
|
||||||
EFA = 24,
|
|
||||||
CONNECTX6LX = 25,
|
|
||||||
@@ -383,6 +383,7 @@ enum ctx_device {
|
|
||||||
ERDMA = 29,
|
|
||||||
HNS = 30,
|
|
||||||
CONNECTX8 = 31,
|
|
||||||
+ INTEL_GEN2 = 32,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Units for rate limiter */
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
@ -3,14 +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.
|
# 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":
|
# Issue "Please avoid dashes in version":
|
||||||
# https://github.com/linux-rdma/perftest/issues/18
|
# https://github.com/linux-rdma/perftest/issues/18
|
||||||
%global upstream_ver 23.04.0-0.23
|
%global upstream_ver 23.07.0-0.27
|
||||||
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
|
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2 or BSD
|
License: GPLv2 or BSD
|
||||||
Source: https://github.com/linux-rdma/perftest/releases/download/23.04.0-0.23/perftest-23.04.0-0.23.g63e250f.tar.gz
|
Source: https://github.com/linux-rdma/perftest/releases/download/23.07.0-0.27/perftest-23.07.0-0.27.g117a291.tar.gz
|
||||||
Source1: ib_atomic_bw.1
|
Source1: ib_atomic_bw.1
|
||||||
Url: https://github.com/linux-rdma/perftest
|
Url: https://github.com/linux-rdma/perftest
|
||||||
Patch01: 0001-perftest-Add-Intel-device-names-and-inline-data-size.patch
|
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -32,7 +31,6 @@ RDMA networks.
|
|||||||
|
|
||||||
%setup -q -n %{name}-%{tarball_ver}
|
%setup -q -n %{name}-%{tarball_ver}
|
||||||
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
||||||
%patch01 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -57,6 +55,10 @@ popd
|
|||||||
%_bindir/*
|
%_bindir/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 26 2023 Kamal Heib <kheib@redhat.com> - 23.07.0.0.27-1
|
||||||
|
- Update to upstream release 23.07.0.0.27
|
||||||
|
- Resolves: RHEL-1270
|
||||||
|
|
||||||
* Tue Jul 18 2023 Kamal Heib <kheib@redhat.com> - 23.04.0.0.23-2
|
* Tue Jul 18 2023 Kamal Heib <kheib@redhat.com> - 23.04.0.0.23-2
|
||||||
- Add missing Intel Parameters
|
- Add missing Intel Parameters
|
||||||
- Resolves: rhbz#2211464
|
- Resolves: rhbz#2211464
|
||||||
|
Loading…
Reference in New Issue
Block a user