Skip to content

Commit 9e1f5f9

Browse files
committed
Perftest: Fix DC max out reads negotiation
Signed-off-by: Shmuel Shaul <sshaul@nvidia.com>
1 parent ed9f1d5 commit 9e1f5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/perftest_parameters.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4891,7 +4891,7 @@ int compare_ibv_device(const char *name, void* local_value, void* remote_value,
48914891
{
48924892
struct ibv_device_attr remote_attr = *(struct ibv_device_attr*)remote_value;
48934893

4894-
if (user_param->out_reads > remote_attr.max_qp_rd_atom) { // 0 < user_param->out_reads <= local_attr.max_qp_rd_atom
4894+
if (user_param->connection_type != DC && user_param->out_reads > remote_attr.max_qp_rd_atom) { // 0 < user_param->out_reads <= local_attr.max_qp_rd_atom
48954895
printf(" out_reads is greater than remote max_qp_rd_atom, using remote max_qp_rd_atom\n");
48964896
user_param->out_reads = remote_attr.max_qp_rd_atom;
48974897
}

0 commit comments

Comments
 (0)