summaryrefslogtreecommitdiffstats
path: root/src/kiro-rdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kiro-rdma.h')
-rw-r--r--src/kiro-rdma.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kiro-rdma.h b/src/kiro-rdma.h
index af502ec..361dabc 100644
--- a/src/kiro-rdma.h
+++ b/src/kiro-rdma.h
@@ -36,11 +36,15 @@ struct kiro_connection_context {
struct ibv_mr peer_mr; // RDMA Memory Region Information of the peer
+ void *container; // Make the connection aware of its container (if any)
+
enum {
KIRO_IDLE,
KIRO_MRI_REQUESTED, // Memory Region Information Requested
KIRO_RDMA_ESTABLISHED, // MRI Exchange complete. RDMA is ready
- KIRO_RDMA_ACTIVE // RDMA Operation is being performed
+ KIRO_RDMA_ACTIVE, // RDMA Operation is being performed
+ KIRO_PING, // PING Message
+ KIRO_PONG // PONG Message (PING reply)
} rdma_state;
};