Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

rpma: replace rdma_create_qp() with rdma_create_qp_ex() #2084

Merged
merged 2 commits into from
Nov 28, 2022

Commits on Nov 22, 2022

  1. rpma: replace rdma_create_qp() with rdma_create_qp_ex()

    1) Make rpma_peer_setup_qp() call rdma_create_qp_ex().
    2) Update the related unit tests.
    3) Update suppresions for the rdma_create_qp_ex().
    
    This change is to prepare for new libibverbs flush and atomic write.
    
    Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
    yangx-jy committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    1b25398 View commit details
    Browse the repository at this point in the history
  2. test: update suppressions for rpma_srq_new()

    rpma_srq_new() with the latest rdma-core threw
    the following error on fedora35:
    ------------------------------------------
    Test pmem#261: mtt-srq-rpma_srq_get_rcq_0_drd:
    ...
    {
       <insert_a_suppression_name_here>
       drd:MutexErr
       fun:pthread_mutex_init_intercept
       fun:pthread_mutex_init@*
       fun:ibv_create_srq@@IBVERBS_1.1
       fun:rpma_peer_create_srq
       fun:rpma_srq_new
       fun:prestate_init
       fun:mtt_run
       fun:main
    }
    
    Test pmem#256: mtt-srq-rpma_srq_delete_0_memcheck:
    Test pmem#260: mtt-srq-rpma_srq_get_rcq_0_memcheck:
    Test pmem#264: mtt-srq-rpma_srq_new_0_memcheck:
    ...
    {
       <insert_a_suppression_name_here>
       Memcheck:Cond
       fun:ibv_icmd_create_srq
       fun:ibv_cmd_create_srq
       fun:rxe_create_srq
       fun:ibv_create_srq@@IBVERBS_1.1
       fun:rpma_peer_create_srq
       fun:rpma_srq_new
       fun:prestate_init
       fun:mtt_run
       fun:main
    }
    ------------------------------------------
    
    Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
    yangx-jy committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    2c2a1da View commit details
    Browse the repository at this point in the history