Hello Jason, A few days ago Daniel Ahlin reported to me that pkey handling in the srp_daemon is broken. Daniel sent me a single patch that I split into multiple patches. Hence this patch series. Please consider these patches for the upstream rdma-core repository. Thanks, Bart. Bart Van Assche (4): verbs, ibacm, librdmacm: Introduce ibv_get_pkey_index() srp_daemon: Move the pkey_index_to_pkey() definition srp_daemon: Use ibv_query_pkey() srp_daemon: Rename ib_path_rec.num_path Daniel Ahlin (1): srp_daemon: Fix pkey handling ibacm/prov/acmp/src/acmp.c | 16 ++--- libibverbs/man/CMakeLists.txt | 1 + libibverbs/man/ibv_get_pkey_index.3.md | 48 +++++++++++++++ libibverbs/verbs.c | 16 +++++ libibverbs/verbs.h | 6 ++ librdmacm/cma.c | 36 +++-------- srp_daemon/srp_daemon.c | 84 +++++++++++++++++--------- srp_daemon/srp_daemon.h | 1 + srp_daemon/srp_ib_types.h | 12 ++-- 9 files changed, 152 insertions(+), 68 deletions(-) create mode 100644 libibverbs/man/ibv_get_pkey_index.3.md -- 2.18.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html