Skip to content

Commit

Permalink
prov/rxm: Fix data error with FI_OFI_RXM_USE_RNDV_WRITE=1
Browse files Browse the repository at this point in the history
Data varification would fail with rxm/verbs when FI_OFI_RXM_USE_RNDV_WRITE
is set to 1. It appears that the content of the receive buffer remains
unchanged after the rendezvous send is completed.

This only happens when the core provider requires FI_MR_LOCAL mode. The
root cause is that MR desciptors passed through the receive call are not
tranlated to rkeys when generating the rendzevous response. As a result,
the sender always writes 0 byte.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
  • Loading branch information
j-xiong committed Dec 18, 2023
1 parent 1e5fb76 commit 15b203c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prov/rxm/src/rxm_cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ static ssize_t rxm_handle_rndv(struct rxm_rx_buf *rx_buf)
mr = rx_buf->recv_entry->rxm_iov.desc[i];
rx_buf->recv_entry->rxm_iov.desc[i] =
fi_mr_desc(mr->msg_mr);
rx_buf->mr[i] = mr->msg_mr;
}
}

Expand Down

0 comments on commit 15b203c

Please sign in to comment.