]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: use ibv_device_attr object type in Device class 27574/head
authorChangcheng Liu <changcheng.liu@intel.com>
Thu, 25 Apr 2019 05:10:54 +0000 (13:10 +0800)
committerChangcheng Liu <changcheng.liu@intel.com>
Thu, 25 Apr 2019 06:08:00 +0000 (14:08 +0800)
commitd775a46959af6a08e1b01599f4767282d0a24586
treed80ce351940aee010e69396aeea00b1302f3b19a
parentad8a9d542f0afbc28a431f2797a01a4d061bb3b7
msg/async/rdma: use ibv_device_attr object type in Device class

1. Avoid to do memory management without using pointer to operate the
allocated space.
2. Since member type has been changed in class Device, it use member
domain operator "." to access to the sub-member in object.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h