|
|
@@ -470,7 +470,7 @@ static inline void iba_deliver_fn (struct totemiba_instance *instance, uint64_t
|
|
|
instance->totemiba_deliver_fn (instance->rrp_context, addr, bytes);
|
|
|
}
|
|
|
|
|
|
-static int mcast_cq_send_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int mcast_cq_send_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct ibv_wc wc[32];
|
|
|
@@ -493,7 +493,7 @@ static int mcast_cq_send_event_fn (hdb_handle_t poll_handle, int events, int s
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int mcast_cq_recv_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int mcast_cq_recv_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct ibv_wc wc[64];
|
|
|
@@ -517,7 +517,7 @@ static int mcast_cq_recv_event_fn (hdb_handle_t poll_handle, int events, int s
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int mcast_rdma_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int mcast_rdma_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct rdma_cm_event *event;
|
|
|
@@ -562,7 +562,7 @@ static int mcast_rdma_event_fn (hdb_handle_t poll_handle, int events, int suck
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int recv_token_cq_send_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int recv_token_cq_send_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct ibv_wc wc[32];
|
|
|
@@ -586,7 +586,7 @@ static int recv_token_cq_send_event_fn (hdb_handle_t poll_handle, int events,
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int recv_token_cq_recv_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int recv_token_cq_recv_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct ibv_wc wc[32];
|
|
|
@@ -736,7 +736,7 @@ static int recv_token_accept_setup (struct totemiba_instance *instance)
|
|
|
return (res);
|
|
|
};
|
|
|
|
|
|
-static int recv_token_rdma_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int recv_token_rdma_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct rdma_cm_event *event;
|
|
|
@@ -768,7 +768,7 @@ static int recv_token_rdma_event_fn (hdb_handle_t poll_handle, int events, int
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int send_token_cq_send_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int send_token_cq_send_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct ibv_wc wc[32];
|
|
|
@@ -791,7 +791,7 @@ static int send_token_cq_send_event_fn (hdb_handle_t poll_handle, int events,
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int send_token_cq_recv_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int send_token_cq_recv_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct ibv_wc wc[32];
|
|
|
@@ -814,7 +814,7 @@ static int send_token_cq_recv_event_fn (hdb_handle_t poll_handle, int events,
|
|
|
return (0);
|
|
|
}
|
|
|
|
|
|
-static int send_token_rdma_event_fn (hdb_handle_t poll_handle, int events, int suck, void *context)
|
|
|
+static int send_token_rdma_event_fn (hdb_handle_t poll_handle, int fd, int events, void *context)
|
|
|
{
|
|
|
struct totemiba_instance *instance = (struct totemiba_instance *)context;
|
|
|
struct rdma_cm_event *event;
|