Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/perftest_communication.c
Original file line number Diff line number Diff line change
Expand Up @@ -1294,9 +1294,10 @@ int rdma_client_connect(struct pingpong_context *ctx,struct perftest_parameters
}

if (event->event != RDMA_CM_EVENT_ESTABLISHED) {
fprintf(stderr, "Unexpected CM event bl blka %d\n", event->event);
fprintf(stderr, "Unexpected CM event bl blka %s; error: %d.\n",
rdma_event_str(event->event), event->status);
rdma_ack_cm_event(event);
return FAILURE;
return FAILURE;
}

if (user_param->connection_type == UD) {
Expand Down
5 changes: 4 additions & 1 deletion src/perftest_resources.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
#include <sys/socket.h>
#include <netdb.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include "perftest_parameters.h"

#ifdef HAVE_CUDA
Expand Down Expand Up @@ -950,7 +952,8 @@ static __inline int ctx_notify_send_recv_events(struct pingpong_context *ctx)
if (select(MAX(ctx->recv_channel->fd,
ctx->send_channel->fd) + 1,
&rfds, NULL, NULL, NULL) == -1) {
fprintf(stderr, "Failed to get completion events\n");
fprintf(stderr, "Failed to get completion events: %s\n",
strerror(errno));
return FAILURE;
}

Expand Down
Loading