summaryrefslogtreecommitdiff
path: root/0004-Perftest-Increase-max-inline-size-to-support-larger-.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-15 02:12:35 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-15 02:12:35 +0000
commitc8b7d4c0da0ad5a112a5108256cf100dab067c0b (patch)
treec7a557e7cf6d53256bed0e4c4775666d55af7e4c /0004-Perftest-Increase-max-inline-size-to-support-larger-.patch
parent8dc494bd8fd232458f8945b3ba64769dddbd44d9 (diff)
automatic import of perftestopeneuler24.03_LTS
Diffstat (limited to '0004-Perftest-Increase-max-inline-size-to-support-larger-.patch')
-rw-r--r--0004-Perftest-Increase-max-inline-size-to-support-larger-.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/0004-Perftest-Increase-max-inline-size-to-support-larger-.patch b/0004-Perftest-Increase-max-inline-size-to-support-larger-.patch
new file mode 100644
index 0000000..1f55d67
--- /dev/null
+++ b/0004-Perftest-Increase-max-inline-size-to-support-larger-.patch
@@ -0,0 +1,33 @@
+From f1d3612de51294cf1d9eab3487fc11c37ffe1386 Mon Sep 17 00:00:00 2001
+From: Chengchang Tang <tangchengchang@huawei.com>
+Date: Tue, 8 Nov 2022 20:20:43 +0800
+Subject: Perftest: Increase max inline size to support larger inline tests
+
+For some hns roce devices, a maximum of 1024 bytes of inline is
+supported.
+
+So, increate the MAX_INLINE and MAX_INLINE_UD to support related test.
+
+Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
+---
+ src/perftest_parameters.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/perftest_parameters.h b/src/perftest_parameters.h
+index bfd42f0..9a4d2bb 100755
+--- a/src/perftest_parameters.h
++++ b/src/perftest_parameters.h
+@@ -177,8 +177,8 @@
+ #define UC_MAX_RX (16000)
+ #define MIN_CQ_MOD (1)
+ #define MAX_CQ_MOD (1024)
+-#define MAX_INLINE (912)
+-#define MAX_INLINE_UD (884)
++#define MAX_INLINE (1024)
++#define MAX_INLINE_UD (1024)
+ #define MIN_EQ_NUM (0)
+ #define MAX_EQ_NUM (2048)
+
+--
+2.34.1
+