On 1/27/2019 5:28 PM, Yishai Hadas wrote:
This series from Danit and Yossi enables application control in some flows as follows. It exposes the internal function 'rdma_init_qp_attr' as an external librdmacm API. As such an application can get the parameters for creating AH (needed for DC QP), or control QP attributes after its creation. In addition, it exposes CONNECT_RESPONSE event and rdma_establish() API. Applications which do not create a QP through rdma_create_qp() may want to postpone the ESTABLISHED event on the passive side, to let the active side complete an application-specific connection establishment phase. For example, modify a QP created by the application to RTR, or make some preparations for receiving messages from the passive side. PR was sent: https://github.com/linux-rdma/rdma-core/pull/460 Danit Goldberg (1): rdmacm: Expose rdma_init_qp_attr Yossi Itigin (2): rdmacm: Expose CONNECT_RESPONSE event and rdma_establish() rping: Add option to create QP independently debian/librdmacm-dev.install | 2 + debian/librdmacm1.symbols | 3 + librdmacm/CMakeLists.txt | 2 +- librdmacm/cma.c | 33 ++++++++--- librdmacm/examples/rping.c | 112 ++++++++++++++++++++++++++++++----- librdmacm/librdmacm.map | 6 ++ librdmacm/man/CMakeLists.txt | 2 + librdmacm/man/rdma_establish.3.md | 59 ++++++++++++++++++ librdmacm/man/rdma_init_qp_attr.3.md | 54 +++++++++++++++++ librdmacm/man/rping.1 | 3 + librdmacm/rdma_cma.h | 28 +++++++++ 11 files changed, 279 insertions(+), 25 deletions(-) create mode 100644 librdmacm/man/rdma_establish.3.md create mode 100644 librdmacm/man/rdma_init_qp_attr.3.md
Series was merged.