Skip to content

Commit cdb1db7

Browse files
authored
Merge pull request #72 from dimasique1/forbid_post_list_new_wr
Forbid --post-list flag if configured with --enable-ibv_wr_api
2 parents 56d025e + a807f5e commit cdb1db7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/perftest_parameters.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,11 @@ static void force_dependecies(struct perftest_parameters *user_param)
995995
}
996996

997997
if (user_param->post_list > 1) {
998+
#ifdef HAVE_IBV_WR_API
999+
printf(RESULT_LINE);
1000+
fprintf(stderr, " Post list greater than 1 is not supported with new WR API\n");
1001+
exit(1);
1002+
#endif
9981003
if (!user_param->req_cq_mod) {
9991004
user_param->cq_mod = user_param->post_list;
10001005
printf(RESULT_LINE);

0 commit comments

Comments
 (0)