@@ -285,6 +285,7 @@ int mca_pml_ob1_recv_request_ack_send_btl(
285
285
286
286
static int mca_pml_ob1_recv_request_ack (
287
287
mca_pml_ob1_recv_request_t * recvreq ,
288
+ mca_btl_base_module_t * btl ,
288
289
mca_pml_ob1_rendezvous_hdr_t * hdr ,
289
290
size_t bytes_received )
290
291
{
@@ -345,12 +346,12 @@ static int mca_pml_ob1_recv_request_ack(
345
346
346
347
/* let know to shedule function there is no need to put ACK flag. If not all message went over
347
348
* RDMA then we cancel the GET protocol in order to switch back to send/recv. In this case send
348
- * back the remote send request, the peer kept a poointer to the frag locally. In the future we
349
+ * back the remote send request, the peer kept a pointer to the frag locally. In the future we
349
350
* might want to cancel the fragment itself, in which case we will have to send back the remote
350
351
* fragment instead of the remote request.
351
352
*/
352
353
recvreq -> req_ack_sent = true;
353
- return mca_pml_ob1_recv_request_ack_send (proc , hdr -> hdr_src_req .lval ,
354
+ return mca_pml_ob1_recv_request_ack_send (btl , proc , hdr -> hdr_src_req .lval ,
354
355
recvreq , recvreq -> req_send_offset , 0 ,
355
356
recvreq -> req_send_offset == bytes_received );
356
357
}
@@ -386,7 +387,7 @@ static int mca_pml_ob1_recv_request_get_frag_failed (mca_pml_ob1_rdma_frag_t *fr
386
387
}
387
388
388
389
/* tell peer to fall back on send for this region */
389
- rc = mca_pml_ob1_recv_request_ack_send (proc , frag -> rdma_hdr .hdr_rget .hdr_rndv .hdr_src_req .lval ,
390
+ rc = mca_pml_ob1_recv_request_ack_send (NULL , proc , frag -> rdma_hdr .hdr_rget .hdr_rndv .hdr_src_req .lval ,
390
391
recvreq , frag -> rdma_offset , frag -> rdma_length , false);
391
392
MCA_PML_OB1_RDMA_FRAG_RETURN (frag );
392
393
return rc ;
@@ -710,7 +711,7 @@ void mca_pml_ob1_recv_request_progress_rget( mca_pml_ob1_recv_request_t* recvreq
710
711
if (mca_pml_ob1_cuda_need_buffers (recvreq , btl ))
711
712
#endif /* OPAL_CUDA_SUPPORT */
712
713
{
713
- mca_pml_ob1_recv_request_ack (recvreq , & hdr -> hdr_rndv , 0 );
714
+ mca_pml_ob1_recv_request_ack (recvreq , btl , & hdr -> hdr_rndv , 0 );
714
715
return ;
715
716
}
716
717
}
@@ -853,7 +854,7 @@ void mca_pml_ob1_recv_request_progress_rndv( mca_pml_ob1_recv_request_t* recvreq
853
854
recvreq -> remote_req_send = hdr -> hdr_rndv .hdr_src_req ;
854
855
recvreq -> req_rdma_offset = bytes_received ;
855
856
MCA_PML_OB1_RECV_REQUEST_MATCHED (recvreq , & hdr -> hdr_match );
856
- mca_pml_ob1_recv_request_ack (recvreq , & hdr -> hdr_rndv , bytes_received );
857
+ mca_pml_ob1_recv_request_ack (recvreq , btl , & hdr -> hdr_rndv , bytes_received );
857
858
/**
858
859
* The PUT protocol do not attach any data to the original request.
859
860
* Therefore, we might want to avoid unpacking if there is nothing to
0 commit comments