diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-12-03 19:29:03 +0100 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2014-12-03 19:39:08 +0100 |
commit | cc2059982024af79136b9420eaec6fcfedabf3fb (patch) | |
tree | 344035ea910eda089c655f5382d19c6e7d46705a /src/kiro-rdma.h | |
parent | 8579e596df0bebee274dcadf766ae425bad9b1e8 (diff) | |
download | kiro-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.h | 6 |
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; }; |