]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: Introduce RDMAConnMgr
authorAmir Vadai <amir@vadai.me>
Wed, 22 Mar 2017 07:05:21 +0000 (09:05 +0200)
committerAdir Lev <adirl@mellanox.com>
Wed, 29 Mar 2017 14:18:16 +0000 (17:18 +0300)
commit91bb13dceddb433966e6f775716e53ec5f523f5e
tree85657cfaaf761134a5914dd81fbd5fe4f9bb97c5
parent4a8732eba7f782dee1eeb81fb539f32134afec7f
msg/async/rdma: Introduce RDMAConnMgr

Encapsulate all connection establishment stuff in a new class -
RDMAConnMgr and make it a friend class of RDMAConnectedSocketImpl.
This class will be inherited for every type of connection establishment
- Currently only TCP is supported, very soon CM will be added too.

RDMAServerConnImpl which only handle connection establishment became an
abstract class and RDMAServerConnTCP is inherting it for connections of
type TCP.

Some of the code was left in its original file and place, and therefore
it looks misplaced. This was done to make it easier to review and rebase.
Once it is accepted a cleanup patch will be sent to move the code into
the right place.

Issue: 995322
Change-Id: I8b0e163525ec80c2452f4b6481bf696968cc1e51
Signed-off-by: Amir Vadai <amir@vadai.me>
src/CMakeLists.txt
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h
src/msg/async/rdma/RDMAConnTCP.cc [new file with mode: 0644]
src/msg/async/rdma/RDMAConnTCP.h [new file with mode: 0644]
src/msg/async/rdma/RDMAConnectedSocketImpl.cc
src/msg/async/rdma/RDMAConnectedSocketImpl.h
src/msg/async/rdma/RDMAServerSocketImpl.cc
src/msg/async/rdma/RDMAStack.cc