-
Notifications
You must be signed in to change notification settings - Fork 56
rpma: replace rdma_create_qp() with rdma_create_qp_ex() #2084
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed all commit messages.
Reviewable status: 0 of 5 files reviewed, all discussions resolved
Codecov Report
@@ Coverage Diff @@
## main #2084 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 18
Lines 1578 1580 +2
=========================================
+ Hits 1578 1580 +2 |
4a07874
to
eadf278
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed all commit messages.
Reviewable status: 0 of 5 files reviewed, all discussions resolved (waiting on @ldorau)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 5 files at r1, 2 of 2 files at r4, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @yangx-jy)
src/peer.c
line 191 at r4 (raw file):
qp_init_attr.comp_mask = IBV_QP_INIT_ATTR_PD; qp_init_attr.pd = peer->pd;
Shall we explicitly set qp_init_attr.send_ops_flags
to 0 and later extend implementation with new capabilities?
Suggestion:
qp_init_attr.send_ops_flags = 0;
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>
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>
Previously, grom72 (Tomasz Gromadzki) wrote…
I prefer to set
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It builds correctly on all OSes: https://github.com/ldorau/rpma/actions/runs/3523334644
Reviewable status: all files reviewed (commit messages unreviewed), 1 unresolved discussion (waiting on @grom72)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @yangx-jy)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @yangx-jy)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 5 files at r1, 2 of 2 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @yangx-jy)
This change is to prepare for new libibverbs flush and atomic write.
Signed-off-by: Xiao Yang yangx.jy@fujitsu.com
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)