Skip to content

Commit 851c1d0

Browse files
nitbhatrbuch
authored andcommitted
Verbs Machine Layer: Add incorrectly removed rdma ack handling code (#3002)
This code is exercised when sending large messages through the regular API (from LrtsSendFunc).
1 parent 9e2060e commit 851c1d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/arch/verbs/machine-ibverbs.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,6 +1839,10 @@ static inline void processRecvWC(struct ibv_wc *recvWC,const int toBuffer){
18391839
processRdmaRequest(rdmaPacket,nodeNo,0);
18401840
}*/
18411841
}
1842+
if(rdma && header->code == INFIRDMA_ACK){ // Ack processing for RDMA operations issued by the regular API (through LrtsSendFunc)
1843+
struct infiRdmaPacket *rdmaPacket = (struct infiRdmaPacket *)(buffer->buf+sizeof(struct infiPacketHeader)) ;
1844+
processRdmaAck(rdmaPacket);
1845+
}
18421846
#if CMK_ONESIDED_IMPL
18431847
if(header->code == INFIRDMA_DIRECT_REG_AND_PUT){
18441848
// Register the source buffer and perform PUT

0 commit comments

Comments
 (0)