diff options
author | Timo <timo.dritschler@kit.edu> | 2014-09-30 14:55:26 +0200 |
---|---|---|
committer | Timo <timo.dritschler@kit.edu> | 2014-09-30 14:55:26 +0200 |
commit | e71b75575658c435bc77c01ef098336c563af740 (patch) | |
tree | dd2d852820339cf84df216e62a76ebbda9d32fc0 /src/kiro-rdma.h | |
parent | 6ffe22890f901238318c68c38c099ccd62321a9a (diff) | |
download | kiro-e71b75575658c435bc77c01ef098336c563af740.tar.gz kiro-e71b75575658c435bc77c01ef098336c563af740.tar.bz2 kiro-e71b75575658c435bc77c01ef098336c563af740.tar.xz kiro-e71b75575658c435bc77c01ef098336c563af740.zip |
Fixed a bug in RDMA memory allocation (Size information was missing)
Added test-latency and test-bandwith tests
Diffstat (limited to 'src/kiro-rdma.h')
-rw-r--r-- | src/kiro-rdma.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kiro-rdma.h b/src/kiro-rdma.h index 2ebbcf6..9a3cbe8 100644 --- a/src/kiro-rdma.h +++ b/src/kiro-rdma.h @@ -147,6 +147,8 @@ kiro_create_rdma_memory (struct ibv_pd *pd, size_t mem_size, int access) if (!krm->mem) krm->mem = krm->mr->addr; + krm->size = mem_size; + return krm; } @@ -216,4 +218,4 @@ kiro_destroy_connection (struct rdma_cm_id **conn) } -#endif //__KIRO_RDMA_H__
\ No newline at end of file +#endif //__KIRO_RDMA_H__ |