Skip to content

Commit

Permalink
Perftest: use defined VerbType value to check verb type
Browse files Browse the repository at this point in the history
Signed-off-by: Liu, Changcheng <changcheng.liu@aliyun.com>
  • Loading branch information
changchengx committed Jan 10, 2023
1 parent 26d4c99 commit a47e547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/perftest_communication.c
Original file line number Diff line number Diff line change
Expand Up @@ -1712,8 +1712,8 @@ void ctx_print_pingpong_data(struct pingpong_dest *element,
printf(BASIC_ADDR_FMT, sideArray[comm->rdma_params->side], dlid, element->qpn, element->psn);

switch (comm->rdma_params->verb) {
case 2 : printf(READ_FMT,element->out_reads);
case 1 : printf(RDMA_FMT,element->rkey,element->vaddr);
case READ : printf(READ_FMT,element->out_reads);
case WRITE : printf(RDMA_FMT,element->rkey,element->vaddr);
default : ;
}

Expand Down

0 comments on commit a47e547

Please sign in to comment.