summaryrefslogtreecommitdiffstats
path: root/src/kiro-rdma.h
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-12-03 19:29:03 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2014-12-03 19:39:08 +0100
commitcc2059982024af79136b9420eaec6fcfedabf3fb (patch)
tree344035ea910eda089c655f5382d19c6e7d46705a /src/kiro-rdma.h
parent8579e596df0bebee274dcadf766ae425bad9b1e8 (diff)
downloadkiro-cc2059982024af79136b9420eaec6fcfedabf3fb.tar.gz
kiro-cc2059982024af79136b9420eaec6fcfedabf3fb.tar.bz2
kiro-cc2059982024af79136b9420eaec6fcfedabf3fb.tar.xz
kiro-cc2059982024af79136b9420eaec6fcfedabf3fb.zip
KIRO Server now has a message event handler for receives
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;
};