Skip to content

Commit 10e2577

Browse files
authored
Merge pull request #379 from tianx666/master
set default max inline size in lat tests for YUNSILICON devices
2 parents a9f846e + e52dd88 commit 10e2577

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/perftest_parameters.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,6 +2694,11 @@ static void ctx_set_max_inline(struct ibv_context *context,struct perftest_param
26942694
user_param->inline_size = 48;
26952695
else if (current_dev == INTEL_GEN2)
26962696
user_param->inline_size = 101;
2697+
else if (current_dev == YUNSILICON_ANDES)
2698+
user_param->inline_size = 32;
2699+
else if (current_dev == YUNSILICON_DIAMOND ||
2700+
current_dev == YUNSILICON_DIAMOND_NEXT)
2701+
user_param->inline_size = 64;
26972702
else if (current_dev == NBL_LEONIS) {
26982703
if (user_param->connection_type == UD)
26992704
user_param->inline_size = 0;

0 commit comments

Comments
 (0)