summaryrefslogtreecommitdiff
path: root/0004-Perftest-Increase-max-inline-size-to-support-larger-.patch
blob: 1f55d673faf40d71475d3cde00858c6f76337b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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