Skip to content

Commit 4bee61f

Browse files
authored
Merge pull request #338 from NitzanLavy/address_cycling_logic_bugfix
Perftest: Fix address cycling bug in local address increment logic
2 parents b6164bc + 3ba386a commit 4bee61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/perftest_resources.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3603,7 +3603,7 @@ int ctx_set_recv_wqes(struct pingpong_context *ctx,struct perftest_parameters *u
36033603
if ((user_param->tst == BW || user_param->tst == LAT_BY_BW) && user_param->size <= (ctx->cycle_buffer / 2)) {
36043604
increase_loc_addr(&ctx->recv_sge_list[i * user_param->recv_post_list + j],
36053605
user_param->size,
3606-
j,
3606+
j-1,
36073607
ctx->rx_buffer_addr[i],
36083608
user_param->connection_type,ctx->cache_line_size,ctx->cycle_buffer);
36093609
}

0 commit comments

Comments
 (0)