Skip to content

Commit

Permalink
Fixed ToS(Type of Service) variable size issue
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Raviv <[email protected]>
  • Loading branch information
Simon Raviv committed Oct 11, 2018
1 parent cd9fc9d commit 8da807d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perftest_communication.c
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ int rdma_cm_address_handler(struct pingpong_context *ctx,

if (user_param->tos != DEF_TOS) {
rc = rdma_set_option(cma_id, RDMA_OPTION_ID,
RDMA_OPTION_ID_TOS, &user_param->tos, sizeof(user_param->tos));
RDMA_OPTION_ID_TOS, &user_param->tos, sizeof(uint8_t));
if (rc) {
error_message = \
"Failed to set ToS(Type of Service) option for RDMA "
Expand Down

0 comments on commit 8da807d

Please sign in to comment.