This commit replace current patches with the community version patches to reduce the workload of maintaining perftest in the future. Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
34 lines
989 B
Diff
34 lines
989 B
Diff
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
|
|
|