1 Star 0 Fork 23

zhangwenlong01/perftest

forked from src-openEuler/perftest 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0004-Perftest-Increase-max-inline-size-to-support-larger-.patch 989 Bytes
一键复制 编辑 原始数据 按行查看 历史
tcc@hello 提交于 2022-11-22 23:52 . Replace patches with community version
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangwenlong01/perftest.git
git@gitee.com:zhangwenlong01/perftest.git
zhangwenlong01
perftest
perftest
master

搜索帮助