diff --git a/src/perftest_resources.c b/src/perftest_resources.c index fe7727d..8db7967 100755 --- a/src/perftest_resources.c +++ b/src/perftest_resources.c @@ -2157,9 +2157,11 @@ int ctx_init(struct pingpong_context *ctx, struct perftest_parameters *user_para if (user_param->work_rdma_cm == OFF) { modify_qp_to_init(ctx, user_param, i); } + #ifdef HAVE_IBV_WR_API #ifdef HAVE_DCS ctx->dci_stream_id[i] = 0; #endif + #endif qp_index++; }