Skip to content

Commit

Permalink
[v1.18.x] 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 verification 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 descriptors passed through the receive call are not
translated into rkeys when generating the rendezvous response. As a result,
the sender always writes 0 byte.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
(cherry picked from commit 81c0b7a)
  • Loading branch information
j-xiong committed Jan 4, 2024
1 parent dbba649 commit aeeb566
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 aeeb566

Please sign in to comment.