Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
roccrtx committed Nov 12, 2018
1 parent 9f4416f commit aab574a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct QPConnArg {
* The MR connection requests sent to remote.
*/
struct MRConnArg {
uint16_t mr_id;
uint64_t mr_id;
};

struct ConnArg {
Expand Down
4 changes: 2 additions & 2 deletions qp_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ class QPImpl {
RDMA_ASSERT(false);
return ERR;
}
RDMA_ASSERT(wc.status == IBV_WC_SUCCESS) <<
RDMA_LOG_IF(4,wc.status != IBV_WC_SUCCESS) <<
"poll till completion error: " << wc.status << " " << ibv_wc_status_str(wc.status);
return SUCC;
return wc.status == IBV_WC_SUCCESS ? SUCC : ERR;
}
};

Expand Down

0 comments on commit aab574a

Please sign in to comment.