From b6f10343faf35333175a361b9462ddcfd0b30d40 Mon Sep 17 00:00:00 2001 From: haodong tang Date: Wed, 4 Apr 2018 13:43:56 +0800 Subject: [PATCH 2/5] msg/async/rdma: support qp that isn't associated with SRQ Signed-off-by: Haodong Tang diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index eec8a74b0c..4f78a331e2 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -165,6 +165,8 @@ OPTION(ms_async_rdma_send_buffers, OPT_U32) OPTION(ms_async_rdma_receive_buffers, OPT_U32) // max number of wr in srq OPTION(ms_async_rdma_receive_queue_len, OPT_U32) +// support srq +OPTION(ms_async_rdma_support_srq, OPT_BOOL) OPTION(ms_async_rdma_port_num, OPT_U32) OPTION(ms_async_rdma_polling_us, OPT_U32) OPTION(ms_async_rdma_local_gid, OPT_STR) // GID format: "fe80:0000:0000:0000:7efe:90ff:fe72:6efe", no zero folding diff --git a/src/common/options.cc b/src/common/options.cc index 0d165957eb..82e8b0bcc0 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -937,6 +937,10 @@ std::vector